grep replacement

Lyndon Nerenberg lyndon at ncc.Nexus.CA
Sat Jun 4 05:04:41 AEST 1988


In article <1039 at ima.ISC.COM> trb at ima.UUCP (Andrew Tannenbaum) writes:
>I have always wanted to be able to tell grep to NOT print the file
>names on a multi-file grep.

That's easy :-)

Just pipe it through cut(1). Works great unless you have a ':' as part
of the file name...
-- 
{alberta,utzoo,uunet}!ncc!lyndon  lyndon at Nexus.CA



More information about the Comp.unix.questions mailing list