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

Reply via email to