Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Counting lines of a file Date: Wed, 03 Oct 2018 12:03:37 -0700 Organization: None to speak of Lines: 20 Message-ID: References: <7q1tD.728075$PJ7.722912@fx01.am4> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: reader02.eternal-september.org; posting-host="8550f27190323af76201106f961d1e2f"; logging-data="8624"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1++Dq14CNj00fctUhqsMjXU" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:dEDpPqSn09Au3r12Hw9ywQ9xHqM= sha1:o+L6jkCBe2ZTTZGL7kYV+uTU67Y= Xref: csiph.com comp.lang.c:136125 jacobnavia writes: > Le 03/10/2018 à 20:23, Keith Thompson a écrit : >> Other than David Brown (and I disagree with him), nobody has suggested >> that using newlines in file names is a good idea. In fact it's a >> terrible idea. > > Yes, so my little programm doesn't support it. > > What I was trying to say with this discussion is that it is important to > not OVER-ENGINEER software, keeping it simple, and maintainable. [...] Is writing a C program to do something that the existing OS utilities can already do not over-engineering? -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"