[BusyBox] More fun with sed.
Rob Landley
rob at landley.net
Thu Sep 25 02:41:20 MDT 2003
So here's the next failure testcase, from the binutils build:
sed -f stringify.sed elf_i386.xn
Both files attached...
Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: elf_i386.xn
Type: text/x-csrc
Size: 6610 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20030925/110868b7/elf_i386.c
-------------- next part --------------
s/["\\]/\\&/g
s/$/\\n\\/
1 s/^/"/
25s/\\$/"/
26s/^/"/
50s/\\$/"/
51s/^/"/
75s/\\$/"/
76s/^/"/
100s/\\$/"/
101s/^/"/
$ s/$/n"/
$ s/\\n"n"$/\\n"/
More information about the busybox
mailing list