view nt/ad2c.sed @ 2260:f913c1545598

[xemacs-hg @ 2004-09-10 18:46:58 by james] Change log to log2 to avoid gcc3 shadow warnings.
author james
date Fri, 10 Sep 2004 18:47:02 +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