4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-23 13:37:22 +08:00

9 lines
106 B
Awk

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