On Tue, Jun 20, 2006 at 12:38:20PM +0200, Alex van den Bogaerdt wrote:
> > | awk '/whatever/{print $2}' in.txt
>
> How is this different from my:
>
> > and remove grep as well:
> >
> > >>> < in.txt awk '/whatever/{print $2}'
>
> Thank you very much for your contribution!
For the record I:
1) missed the end of your post *sorry*
2) the difference is small. In one case the shell makes the redirection, in
the other awk takes care of opening the file. Performance is the same.
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi