-
1
- #1
Is there simple way to print the single quote character using printf() in awk?<br><br>I have used the following in the past, but is cumbersome when the printf() statement is long...<br><br>awk -v QUOTE="'" '{<br> printf("%s%s%s",QUOTE,$1,QUOTE) }' infile<br><br>--achusa