view nt/ad2c.sed @ 1322:0e48d8b45bdb

[xemacs-hg @ 2003-02-23 10:58:01 by ben] another boo-boo eval.c: damn those off-by-one errors.
author ben
date Sun, 23 Feb 2003 10:58:05 +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