From: Vinnie Shelton <shelton@icd.teradyne.com>
To: schaefer@z-code.ncd.com
Cc: zsh-workers@math.gatech.edu
Subject: Re: Colon modifiers on history substitution
Date: Thu, 09 Nov 1995 13:58:58 -0500 [thread overview]
Message-ID: <9511091859.AA25845@spacely.afive> (raw)
In-Reply-To: schaefer's message of Thu, 09 Nov 1995 09:35:26 -0800. <951109093526.ZM24995@zyrcon.z-code.com>
In message <951109093526.ZM24995@zyrcon.z-code.com>, Barton E. Schaefer wrote:
>On Nov 9, 9:21am, Vinnie Shelton wrote:
>} Subject: Colon modifiers on history substitution
>}
>} :p no longer works after a ^ substitution
>
>This was never supposed to work -- you're using an undocumented side-
>effect of the way that Paul F. originally implemented ^ substitution.
>
>Now that history substitutions no longer rely on rewriting the parser
>input, the side-effect has gone away.
It's just my week to trip over ghosts, I guess.
Since it works in csh, I always assumed this was an officially
sanctioned "good thing". I'd prefer that zsh follow csh on this,
but it's not worth a significant effort, IMO.
Hmm, I was about to ask what I could do instead - presto - expansion
almost works:
% echo aacd
aacd
^aa^ab<TAB>
results in:
echo ab cd
If we could get rid of that extra space, that would be cool!
--Vin
prev parent reply other threads:[~1995-11-09 19:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-11-09 14:21 Vinnie Shelton
[not found] ` <shelton@icd.teradyne.com>
1995-11-09 17:35 ` Barton E. Schaefer
1995-11-09 18:58 ` Vinnie Shelton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9511091859.AA25845@spacely.afive \
--to=shelton@icd.teradyne.com \
--cc=acs@world.std.com \
--cc=schaefer@z-code.ncd.com \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).