Re: GREP
On Fri, 20 Oct 2000, Erik Steffl wrote:
> the main difference is a sideeffect, sort of, if grep is called for
> with one file as an argument it only prints the line matched, not the
> filename, so you get bunch of lines (each successfull match) but you
> have no idea which files these lines are in...
>
> and probably some other more or less dirty tricks...
^^^^^^^^^^
Look in the grep manpage for the -l option ;)
Damian Menscher
--
--==## Grad. student & Sys. Admin. @ U. Illinois at Urbana-Champaign ##==--
--==## <menscher@uiuc.edu> www.uiuc.edu/~menscher/ Ofc:(217)333-0038 ##==--
--==## Physics Dept, 1110 W Green, Urbana IL 61801 Fax:(217)333-9819 ##==--
Reply to:
- Follow-Ups:
- Re: GREP
- From: Erik Steffl <steffl@bigfoot.com>
- References:
- Re: GREP
- From: Erik Steffl <steffl@bigfoot.com>