ls -1 | xargs awk /pattern/

Awk vs. Perl - AWK wins!

Awk owns you, foo.

Adam Maloney
Systems Administrator
Sihope Communications

On Tue, 26 Sep 2000, John J. Trammell wrote:

> Adam Maloney <adamm at sihope.com> wrote:
> 
> > ls -1 > filelist
> > awk '{ printf("grep string %s\n", $1) }' filelist > script.sh
> > chmod +x script.sh
> > ./script.sh
> >
> > awk owns your 'fro!
> 
> perl -e 'print `grep pattern $_` while <*>'
> 
> :-)
> 
> J
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe at mn-linux.org
> For additional commands, e-mail: tclug-list-help at mn-linux.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tclug-list-unsubscribe at mn-linux.org
For additional commands, e-mail: tclug-list-help at mn-linux.org