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

[email protected] (Bob Proulx)
Newsgroups gmane.comp.gnu.utils
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.