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

Bug in parameter expansion code?



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



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