Use double quotes as field separator in AWK -


how can use double quotes field separator?

awk -v val=$num 'begin { fs='"';}{}' 

i using above statement encountered error.

two ways:

awk -v val=$num -f'"' '{}'  awk -v val=$num 'begin { fs="\"";}{}' 

Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -