Package: sed Version: 4.1.4-1 Severity: normal
Hello ! I did try some backreferences in a sed s/.../.../ program, and it gives me this funny result: gaia ~ $ sed "s/([0-9])\./\3,/" sed: -e expression #1, char 16: invalid reference \4 on `s' command's RHS gaia ~ $ sed "s/([0-9])\./\1,/" sed: -e expression #1, char 16: invalid reference \2 on `s' command's RHS It does really look like sed does add 1 to all the \digit stuff... I don't know if it comes from a realy blunder of me or if this is a real bug. In any case, this behavior is quite unexpected. Thanks ! Vincent Fourmond -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.7 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages sed depends on: ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]