view nt/ad2c.sed @ 4768:0f5bee973a7b

Etags: use memmove instead of strcpy to move characters within a string. See <870180fe0912080852t1073137ence150b6d267c43c9@mail.gmail.com> in xemacs-patches.
author Jerry James <james@xemacs.org>
date Wed, 09 Dec 2009 09:50:36 -0700
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