Path: utzoo!utgpu!water!watmath!clyde!bellcore!rutgers!cbmvax!uunet!ncc!lyndon
From: lyndon@ncc.Nexus.CA (Lyndon Nerenberg)
Newsgroups: comp.unix.questions
Subject: Re: grep replacement
Message-ID: <10264@ncc.Nexus.CA>
Date: 3 Jun 88 19:04:41 GMT
References: <7882@alice.UUCP> <2450011@hpsal2.HP.COM> <54818@sun.uucp> <1039@ima.ISC.COM>
Reply-To: lyndon@ncc.UUCP (Lyndon Nerenberg)
Organization: Nexus Computing Inc.
Lines: 10

In article <1039@ima.ISC.COM> trb@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@Nexus.CA