On Thu, Sep 30, 2004 at 08:52:59PM -0700, Wolfgang Thaller wrote:
> wolfgang 2004/09/30 20:52:58 PDT
>
> Modified files:
> ghc aclocal.m4
> Log:
> Replace \? by \{0,1\} in the sed regular expressions, as the former
> does not work with Mac OS X's (= BSD's) sed.
>
> I'm a bit confused by the situation here:
> According to Mac OS X man pages, the latter syntax is part of the
> POSIX 1003.2 standard for basic regular expressions, while the former
> is not. According to the manpage installed with my Gentoo linux, neither
> is in the POSIX standard.
http://www.opengroup.org/onlinepubs/009695399/utilities/sed.html says
sed uses BREs, which
http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap09.html
says (in 9.3.6) includes the \{m,n\} syntax.
Looks like the gentoo manpage is wrong (or perhaps describing EREs, if
it has ? and {m,n} instead).
Thanks
Ian
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc