bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wc


From: Eric Blake
Subject: Re: wc
Date: Fri, 12 Jun 2009 21:24:42 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Pádraig Brady on 6/12/2009 8:00 AM:
> Note also that wc can output particular counts in isolation.
> I.E. this will get the same affect as your original:
> 
> wc -w FILE | cut -d' ' -f1

Even better:

wc -w < FILE

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkozG/oACgkQ84KuGfSFAYBTywCeJNXTdEXVrXnw0+LSDy6gn569
boMAoIOcc5pS5YFBE54tLHjF0gFZb168
=WCKj
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]