old-cross-binutils/ld/emultempl/stringify.sed

4 lines
44 B
Sed

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