dc6ef98742
FossilOrigin-Name: 783f78e39795b2c491c342558ef59f1fc32c2858
10 lines
127 B
Awk
10 lines
127 B
Awk
#!/usr/bin/awk
|
|
#
|
|
# Convert input text into a C string
|
|
#
|
|
{
|
|
gsub(/\\/,"\\\\");
|
|
gsub(/\"/,"\\\"");
|
|
print "\"" $0 "\\n\"";
|
|
}
|