Showing posts with label quotation mark. Show all posts
Showing posts with label quotation mark. Show all posts

Tuesday, May 13, 2008

Linux:Bash:how to print quotation marks in awk

ls | awk '{print "'\''"$1"'\''"}'

or

awk 'BEGIN { print "Here is a single quote \47" }'

Locations of visitors to this page