sqlite/tool/tostr.awk
drh 4515a45b8c Backslash escaping is not working right in tostr.awk on the latest ubuntu.
The easiest fix is to simply not use any backslashes in the spaceanal.tcl
script.

FossilOrigin-Name: df550066657cb41bad34ac8e722b8148ab7eabfb
2011-08-31 17:46:50 +00:00

9 lines
106 B
Awk

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