view nt/ad2c.sed @ 642:277f059a321b

[xemacs-hg @ 2001-08-01 18:59:04 by adrian] [PATCH] xemacs-21.5: Peter's patch refilled with verbatim ChangeLog <elqvbof1.fsf@ecf.teradyne.com>
author adrian
date Wed, 01 Aug 2001 18:59:04 +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