To me, it just looks like a style difference.

With grep, awk, sed, wc,.... There are at least 10 million ways to skin a cat.

Brock

On 8/19/05, Wakefield, Thad M. <twakefield at stcloudstate.edu> wrote:
> > >>
> > >> here's Mike Miller's one-liner:
> > >> [chrome at mailhost:~]$egrep '^From ' ~/Mail/procmail.log | gawk
> '{print $4" "$5", "$7}' | uniq -c
> 
> In my continuing endeavor to understand pipes, redirects and xargs, is
> there a
> reason why you used egrep instead of: gawk '/^From /{print $4,$5", "$7}'
> ~/Mail/procmail.log ...?
> 
> Thad
> 
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> tclug-list at mn-linux.org
> http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>