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

Re: ideas



Included From: Quinn Dunkan <quinn@xxxxxxxxxxxxxxxxxxxxx>: 

> and I've wondered why there isn't something like ${i:s/foo/bar} to
> replace foo in $i with bar.

You could just use $i(:s/foo/bar).  

--
Christopher A. Craig <ccraig@xxxxxxxxxxxxx>
"Efficiency is intelligent laziness" Arnold H. Glasow
PGP Key Verification: EE B1 F3 A0 3F BC 3C C7 81 61 F1 91 6E 99 13 65
http://www.cc.gatech.edu/people/home/ccraig



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