Ian Lynagh <[EMAIL PROTECTED]> wrote:

> > We want ideally a simple call like
> >     Xtract -n "//patch[0]/name/-" -

OK, in my home directory on darcs.haskell.org, there is a new binary of
Xtract, which implements the -n flag as shown in the example above, to
squash entity references to their textual equivalents.  Someone with the
appropriate permissions should be able to modify the
commit-messages-split.sh script to use Xtract in place of grep and sed.

> (Aside: while playing with this without any knowledge of what it
> meant, I found that running
>     Xtract "//patch[0]/" -
> gives
>     Xtract: Prelude.head: empty list

Oops.  Bug still present.  (The crash is due to the trailing / character
in the query.)

Regards,
    Malcolm

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to