I would like to know how to print a single quote in nawk ...
Eg:
echo myname | nawk '{print $1}'
The output should be
'myname'
(the word myname within single quotes)
I have tried a couple of alternatives, but have not been successful ...
Thanks in advance ...
Cheers
Sathyaram