sqlcipher/tool/tostr.awk

9 lines
106 B
Awk
Raw Normal View History

2011-08-17 13:17:32 -04:00
#!/usr/bin/awk
#
# Convert input text into a C string
#
{
gsub(/\"/,"\\\"");
print "\"" $0 "\\n\"";
}