Russ Johnson wrote: > I know that, but s/</</g IS the reverse of s/</</g.
Um, actually, in ed, sed, ex and vi (among others), an ampersand on
the right side is shorthand for the string the left side matched.
$ echo '<a></a>' | sed 's/</</g'
<lt;a><lt;/a>
--
Bob Miller K<bob>
[EMAIL PROTECTED]
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug
