help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Specifying multiple separators via FS or the -F command line flag


From: Bob Proulx
Subject: Re: Specifying multiple separators via FS or the -F command line flag
Date: Mon, 3 Dec 2007 22:04:59 -0700
User-agent: Mutt/1.5.13 (2006-08-11)

Bob Proulx wrote:
>   line='  lo:649004371  349860    0    0    0     0          0'
>   echo "$line" | awk '{sub(/(eth[[:digit:]]|lo):/,"& ");print $2}'
>   673423996

Sorry for the cut-n-paste error.  But regardless of the error I am
sure you get the idea.

Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]