grep replacement

Guy Harris guy at gorodish.Sun.COM
Wed Jun 8 03:26:36 AEST 1988


> >7th Edition grep had a -h flag to not print the filenames on a grep.
> >4BSD still has a -h flag.
> >System 5 doesn't have a -h flag.
> >(Another example of how System 5 is superior to BSD... and V7...)
> 
> Maybe the AT&T folks figured that their customers were smart enough
> to type "cat files ... | grep".

*Which* "AT&T folks"?  The folks at AT&T Bell Labs Research were the ones who
put the "-h" flag into "grep" in the first place, *not* the ones at Berkeley.

> I've never had the need for a -h flag, but I sure would like for the -H
> (ALWAYS print filename) option to be the default instead of the current
> variable algorithm.

Maybe the AT&T folks figured that their customers were smart enough to type
"grep ... /dev/null"?



More information about the Comp.unix.questions mailing list