Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Example from manual seems broken
- X-seq: zsh-workers 13995
- From: "F. G. Marx" <fmarx@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Example from manual seems broken
- Date: Mon, 16 Apr 2001 23:54:29 -0400
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
1. The following example from zshexpn.1 FILENAME_EXPANSION is broken in
zsh-4.0.1-pre-3:
zsh -f
$> setopt extendedglob
$> foo="a string with a message"
$> if [[ $foo = (a|an)' '(#b)(*)' '* ]]; then
then> print ${foo[$mbegin[1],$mend[1]]}
then> fi
$> zsh: bad math expression: operand expected at `$mend[1]'
print ${foo[$mbegin[1],15]}
and
print ${foo[3,$mend[1]]}
work fine.
2. I've got _normal complaining about _use_lo not being found after
upgrading from dev-2 to dev-3.
$> objdump --<C-d>
_use_lo not found at _normal:100
_use_lo from dev-2 works fine.
3. I'm sorry, I wasn't paying attention: why are the completion functions
in new sub-subdirectories in source, but amalgamated in --fndir ?
Thanks,
/f
Messages sorted by:
Reverse Date,
Date,
Thread,
Author