-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Simon Josefsson on 5/27/2009 4:33 AM:
> But adding --posix makes it fail:
> 
> j...@mocca:~/src/libidn master$ echo 'version 2  '|sed --posix -e 's/version 
> \(2\|2\.1\)\([ ,]\)/version 3\2/g'

You are using \|, which is undefined in BRE, and therefore (correctly)
rejected as a non-POSIX extension when using --posix with newer sed.  It
was a bug in earlier sed that \| was not identified as non-portable.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             e...@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkodIJkACgkQ84KuGfSFAYDRkwCgtO43fTXDwMxrfltMRHQM8zDc
/SQAn19SUWM/+1rb9ihyy1mcfFflSkGY
=yvCd
-----END PGP SIGNATURE-----


Reply via email to