13 lines
144 B
Sed
13 lines
144 B
Sed
s/["\\]/\\&/g
|
|
s/$/\\n\\/
|
|
1 s/^/"/
|
|
25s/\\$/"/
|
|
26s/^/"/
|
|
50s/\\$/"/
|
|
51s/^/"/
|
|
75s/\\$/"/
|
|
76s/^/"/
|
|
100s/\\$/"/
|
|
101s/^/"/
|
|
$ s/$/n"/
|
|
$ s/\\n"n"$/\\n"/
|