🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #752

GNU `wc -c' optimization

#752
From: David V. Henkel-Wallace
Date: Mon, 07 Sep 1992 10:40
8 lines
789 bytes
   Date: Sat, 5 Sep 1992 13:46:09 GMT
   From: pinard@icule.UUCP (Francois Pinard)

   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?

Until wc handles wide characters...
Technical Details
Message-ID: <GUMBY.92Sep7064016@Cygnus.COM>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cygnus.com!gumby
References: gumby@cygnus.com (David V. Henkel-Wallace)

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cygnus.com!gumby
From: gumby@cygnus.com (David V. Henkel-Wallace)
Subject: GNU `wc -c' optimization
Message-ID: <GUMBY.92Sep7064016@Cygnus.COM>
Sender: gnulists@ai.mit.edu
Organization: Cygnus Support, Palo Alto, California
References: gumby@cygnus.com (David V. Henkel-Wallace)
Distribution: gnu
Date: Mon, 7 Sep 1992 10:40:16 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 9