Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

awk field separator

$
0
0
I need to set awk field separator to ";", but I need to avoid ";EXT".

so that

Code:

echo a;b;c;EXTd;e;f | awk -F";" '{print $3}'
would give "
Code:

c;EXTd
"

Viewing all articles
Browse latest Browse all 16232

Trending Articles