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

Re: Parameter expansion bug?



Anthony Heading (aheading@xxxxxxxxxxxx) wrote:
> This does not print anything (at least with zsh 3.0.0) - shouldn't
> it print `-'?
> % echo ${dqkjdkqdq:--}

It prints a `-' in ksh and bash.

-- 
Hrvoje Niksic <hniksic@xxxxxxx> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
main(){printf(&unix["\021%six\012\0"],(unix)["have"]+"fun"-0x60);}



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