awk -F',' '{ if($1=='"$accountNum"') { print $3.$2 } }' Accounts
reference: https://unix.stackexchange.com/questions/145623/awk-with-if-statements
No comments:
Post a Comment