david@geac.UUCP (David Haynes) (11/03/87)
Reply-Path:
I was quite amazed as I made the transition from Ultrix 2.0
beta to 2.0 SDC release that a bug had been added to sed.
Check out the following mini script:
#/bin/sh
echo "ab" | sed 's/\(.\)\(.\)/\2,\1/'
I was expecting "b,a" instead I got "2,1" -- this is a serious
break. The manual page (1-142 Commands (ed)) says that my interpretation
of the script should work.
-david-
--
David Haynes
Geac Computers International Inc.
UUCP: {mnetor|yetti|utgpu}!geac!david