view nt/ad2c.sed @ 3514:8b1d806afbb3

[xemacs-hg @ 2006-07-18 15:01:27 by crestani] 2006-07-18 Marcus Crestani <crestani@xemacs.org> * alloc.c: Fix typo in string_direct_data_description.
author crestani
date Tue, 18 Jul 2006 15:01: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