view nt/ad2c.sed @ 1709:2f1ad95e2378

[xemacs-hg @ 2003-09-22 11:53:20 by stephent] coding conventions, minor fixes <8765jl2g98.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Mon, 22 Sep 2003 11:53:23 +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