view nt/ad2c.sed @ 1510:a326a8b73148

[xemacs-hg @ 2003-06-01 05:10:14 by youngs] XEmacs 21.5.14 "cassava" is released.
author youngs
date Sun, 01 Jun 2003 05:10:30 +0000
parents 4be1180a9e89
children
line wrap: on
line source

/^!/d
/^$/d
s/\\/\\\\/g
s/\\$//g
s/"/\\"/g
s/^/(String) "/
: test
/\\$/b slash
s/$/",/
p
d
: slash
n
/^!/d
/^$/d
s/"/\\"/g
s/\\\\/\\/g
s/\\n/\\\\n/g
s/\\t/\\\\t/g
s/\\f/\\\\f/g
s/\\b/\\\\b/g
b test