52cb49752a
this is heavily stripped down.
5 lines
44 B
Sed
5 lines
44 B
Sed
s/["\\]/\\&/g
|
|
s/$/\\n\\/
|
|
1 s/^/"/
|
|
$ s/$/n"/
|