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) }'...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.