Hi,
I am very lost with the errors I get when I execute a previously used command. Though it worked before but now a problem. Is single quote not allowed on some machines? Can anyone help me?
The error message is:
syntax error near line 1
bailing out near line 1
The script I used is:
awk '
NR==FNR {a[$1]=$1;b[$1]=$2; next}
$1 in a {print a[$1],$2}
'TableA.txt TableB.txt
Thank you
curious1
I am very lost with the errors I get when I execute a previously used command. Though it worked before but now a problem. Is single quote not allowed on some machines? Can anyone help me?
The error message is:
syntax error near line 1
bailing out near line 1
The script I used is:
awk '
NR==FNR {a[$1]=$1;b[$1]=$2; next}
$1 in a {print a[$1],$2}
'TableA.txt TableB.txt
Thank you
curious1