Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug in parameter expansion code?



On Nov 12, 2007 12:19 AM, Nikolai Weibull <now@xxxxxxxx> wrote:

> % echo ${(l:$(( $#2 + ${1:-1} * 3 ))::x:)}
> zsh: closing brace expected
> zsh: parse error in command substitution

Sorry, my braindamage, not Zsh's (I'm using ':' as the delimiter for
the 'l' modifier, thus the ':' in ${1:-1} is seen as a delimiter, not
part of the expansion of ${1}).



Messages sorted by: Reverse Date, Date, Thread, Author