Sluggers,

Trying to hack out a program in awk and I need to print out a
single quote, I've tried

 printf("Some \'single quoted\' stuff\n");

This drive awk nuts,

(eg awk: line 136: syntax error near unexpected token `;')

how do I escape a single quote in awk?

TIA's.


Pete

P.S Perl heads try and restrain yourselves by not sending replies
saying write it in perl. ;-)


--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to