Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: minor bug with ${}
- X-seq: zsh-workers 2158
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxx>, zsh-workers@xxxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: minor bug with ${}
- Date: Mon, 23 Sep 1996 13:04:59 -0700
- In-reply-to: Peter Stephenson <pws@xxxxxx> "Re: minor bug with ${}" (Sep 23, 10:43am)
- References: <199609230843.KAA04141@xxxxxxxxxxxx>
- Reply-to: schaefer@xxxxxxx
On Sep 23, 10:43am, Peter Stephenson wrote:
} Subject: Re: minor bug with ${}
}
} A better syntax would have been something like `${{a:s/b/cd/}#c}' to
} do the substitution above, with an extra $ doing what you were
} expecting. (It's a bit late now, since it would wreck all of Bart's
} scripts, yet again :-(.)
Chuckle. Actually, I don't use "nested" substitution very much. It's
only in the last few months that I've started replacing some constructs
that required external "sed"s etc. with some of this stuff.
I'm just as opposed to breaking other people's scripts, though. :-}
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.nbn.com/people/lantern
New male in /home/schaefer:
>N 2 Justin William Schaefer Sat May 11 03:43 53/4040 "Happy Birthday"
Messages sorted by:
Reverse Date,
Date,
Thread,
Author