Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ideas
- X-seq: zsh-users 1394
- From: Christopher Craig <ccraig@xxxxxxxxxxxxx>
- To: Quinn Dunkan <quinn@xxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: ideas
- Date: Wed, 18 Mar 1998 09:57:33 -0500 (EST)
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: Quinn Dunkan's message of Wed, 18 Mar 1998 00:03:26 -0800
- References: <199803180803.AAA00183@xxxxxxxxxxxxxxxx>
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