Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ideas
- X-seq: zsh-workers 3807
- From: mason@xxxxxxxxxxxxxxx (Geoff Wing)
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: ideas
- Date: 19 Mar 1998 12:36:32 GMT
- Organization: A poorly-installed InterNetNews site
- References: "Bernd Eggink"'s message of "Wed, 18 Mar 1998 18:14:30 MET." <199803190855.JAA04820@xxxxxxxxxxxx>
- Reply-to: mason@xxxxxxxxxxxxxxx
Peter Stephenson <pws@xxxxxx> typed:
:Bernd Eggink wrote:
:> > You could just use $i(:s/foo/bar).
:> Great! I, too, was wondering why there isn't such a thing. Now I wonder
:> if this feature is considered top secret. I can't find anything about it
:> in the docu.
:I've been waiting and waiting for someone to point out that
:${i:s/foo/bar/} does work (and has worked for years and years), you
:just need the final / (though I'm working on that, too), but no-one
:has. I can't believe no-one else knew?
We just didn't want to add noise to the discussion. I've always used
${i:s/foo/bar/} and didn't really know about $i(:s/foo/bar) until this
discussion. But finding out $i(:....) is good too, not that I'll ever use
it since I've been typing ${i:...} for years. See, now you've just got
more noise on the list :-)
--
Geoff Wing <gcw@xxxxxxxxx> Mobile : blown up, in for repairs
Work URL: http://www.primenet.com.au/ Ego URL: http://pobox.com/~gcw/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author