TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:21649] Limits of grep?
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@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@mn-linux.org
> For additional commands, e-mail: tclug-list-help@mn-linux.org
>
>