On Thu, Jan 10, 2008 at 01:26:20PM +0100, Jukka Salmi wrote:
> Peter Vollmar --> dwm (2008-01-09 23:05:49 +0100):
> > fetchmail -c|sed 's/(//'|awk '{print $1-$3}'
>
> BTW: if you use more than one of grep, sed and awk in a single
> pipline, you have almost always done something wrong
> ;-)
okay:
$ fetchmail -c|awk '{sub(/\(/,"",$3);print $1-$3}'
slightly longer.
Regards
Martin
Received on Fri Jan 11 2008 - 20:08:42 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:15:43 UTC