rtt-f030/components/external/SQLite-3.8.1/tool/tostr.awk

9 lines
106 B
Awk
Raw Normal View History

#!/usr/bin/awk
#
# Convert input text into a C string
#
{
gsub(/\"/,"\\\"");
print "\"" $0 "\\n\"";
}