I want to do the following
awk 'BEGIN {FS=" ";} {printf "'%s' ", $1}'
But escaping a single quote this way doesn't work
awk 'BEGIN {FS=" ";} {printf "\'%s\' ", $1}'
How to do it? Thanks for the help.
awk
user1096734 Mar 27 '12 at 23:06 2012-03-27 23:06
source share