Hi all,
I am using awk on Solaris. The simple command I am using is,
awk -v var1=1 '{print var1 }' databases
where databases is a file in current directory.
I get error,
awk: syntax error near line 1
awk: bailing out near line 1
What/where is the error ?
I have used similiar syntax with awk on AIX.
Please help.
Cheers
I am using awk on Solaris. The simple command I am using is,
awk -v var1=1 '{print var1 }' databases
where databases is a file in current directory.
I get error,
awk: syntax error near line 1
awk: bailing out near line 1
What/where is the error ?
I have used similiar syntax with awk on AIX.
Please help.
Cheers