Retro68/binutils/ld/emultempl/astring.sed

14 lines
144 B
Sed
Raw Normal View History

2012-03-26 19:18:29 +00:00
s/["\\]/\\&/g
s/$/\\n\\/
1 s/^/"/
25s/\\$/"/
26s/^/"/
50s/\\$/"/
51s/^/"/
75s/\\$/"/
76s/^/"/
100s/\\$/"/
101s/^/"/
$ s/$/n"/
$ s/\\n"n"$/\\n"/