Author: Robert Hyatt
Date: 16:54:17 11/18/02
Go up one level in this thread
On November 18, 2002 at 18:23:17, Dieter Buerssner wrote: >On November 18, 2002 at 18:15:50, Robert Hyatt wrote: > > >>I just did the simple >> >>cat *.c *.h *.cpp | wc -l > >Very off topic: I have seen similar things rather regularily, and I often >wondered why people like to use cat, when not needed: > >wc -l *.c *.h *.cpp > >OTOH, why not use > >cat *.c *.h *.cpp | cat | cat | wc -l > >:-) > >BTW. On a German keyboard, that pipe sign is actually too incovinient to use, to >get ideas, like this. > >Cheers, >Dieter Simple... Not _all_ wc programs accept command line wildcards. Linux does, and a number of recent unix versions do. But not all. I've been using unix since the middle 70's and I use what works everywhere, most of the time. For some new stuff, this isn't applicable of course.
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.