view nt/ad2c.sed @ 3650:bdfcf05f635b

[xemacs-hg @ 2006-11-01 20:55:09 by adrian] From: Jerry James <james@xemacs.org> Subject: [PATCH 21.5] POP sync To: XEmacs Patches <xemacs-patches@xemacs.org> Date: Fri, 11 Aug 2006 12:24:54 -0600 Message-ID: <m3k65fb05l.fsf@jerrypc.cs.usu.edu>
author adrian
date Wed, 01 Nov 2006 20:55:14 +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