RSS feed

awk quotes

December 2nd, 2008 | Posted in Linux | No Comments

cat file | awk '{ print "mysql mydatabase -u " $3 " -p"$4" -h " $2 " -e \042SELECT name FROM domains WHERE status = \0470\047\042 >> "$1".active"}'
echo -e "\047"

\047 being a single quote
\042 being a double quote



No Comments to “awk quotes”

There are no comments yet, add one below.


Leave a Comment






Categories