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

Re: question about parameter expansion



* Mikael Magnusson <mikachu@xxxxxxxxx> [2015-09-26 16:37]:
> You have to think outside the box for this one,
> bar=${${${+foo}#1}//0/baz}

I thought that there is more concise way like some sort of ${name+word}
counterpart.  Thank you.

-- 
Dmitri Vereshchagin



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