|
Hi Jim,
I have a problem executing the awk script which you have recommended.
I am using Korn shell. Do i need to change some thing to accommodate that.
Herewith i am attaching my file
test.txt
cat
cattle
bat
battle
mat
matter
fat
fatter
cattle
cattle
I am bit confused about the script. When i execute it, I am getting following error message.
awk: syntax error near line 1
awk: bailing out near line 1
Let me know what i should assign for $0 and $1.
Thanks in advance.
Since I am a novice, I have several queries from my end.
cheers,
gops
|