aboutsummaryrefslogtreecommitdiff
path: root/quoteinitializer
blob: 495eefe15d823221bfdc8f26d4c1a4484507d73c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/awk -f

BEGIN\
{
    print "// Do not edit this file (edit \""ARGV[1]"\", and run \"make\").\n"
    if (ARGC > 2) { print ARGV[2]; ARGC = 2 }
}

{
    gsub("\\\\", "\\\\");
    gsub("\\\"", "\\\"");
    print "\""$0"\\n\""
}