grep replacement

Doug Gwyn gwyn at brl-smoke.ARPA
Tue Jun 7 18:59:56 AEST 1988


In article <44366 at beno.seismo.CSS.GOV> rick at seismo.CSS.GOV (Rick Adams) writes:
>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".  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.



More information about the Comp.unix.questions mailing list