Jean-Rene David <jrdavid@xxxxxxxx> wrote:
> * Sean [2006.07.19 12:45]:
> > zsh chokes on this line in a script:
> >
> > shopt -s extglob
> >
> > Is there an alternative for use in zsh ?
>
> setopt extendedglob
However, the globbing syntax enabled by bash's extglob option is the
ksh-style with parentheses introduced by ?, @, *, + or !. If you need
this syntax in zsh, you should "setopt kshglob".
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php