Article View: gnu.utils.bug
Article #734GNU `wc -c' optimization
From: Francois Pinard
Date: Sat, 05 Sep 1992 13:46
Date: Sat, 05 Sep 1992 13:46
8 lines
834 bytes
834 bytes
Using GNU textutils 1.3, I noticed that `wc -c FILE' or `wc -c *' physically reads the file(s). Would not it be better to just stat the file(s) and produce the output quickly in those cases? -- Franc,ois Pinard ``Vivement GNU!'' pinard@iro.umontreal.ca (514) 588-4656 ...!uunet!iros1!pinard Consider joining the League for Programming Freedom. Email for details!
Technical Details
Message-ID:
<9209051346.AA05464@icule.UUCP>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!icule.UUCP!pinardShow Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!icule.UUCP!pinard From: pinard@icule.UUCP (Francois Pinard) Subject: GNU `wc -c' optimization Message-ID: <9209051346.AA05464@icule.UUCP> Sender: gnulists@ai.mit.edu Reply-To: pinard@iro.umontreal.ca Organization: GNUs Not Usenet Distribution: gnu Date: Sat, 5 Sep 1992 13:46:09 GMT Approved: bug-gnu-utils@prep.ai.mit.edu Lines: 9