darling-gdb/ld/emultempl/stringify.sed

5 lines
44 B
Sed

s/["\\]/\\&/g
s/$/\\n\\/
1 s/^/"/
$ s/$/n"/