From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gatech.edu (gatech.edu [130.207.244.244]) by werple.mira.net.au (8.6.12/8.6.9) with SMTP id DAA07604 for ; Wed, 16 Aug 1995 03:58:27 +1000 Received: from math (math.skiles.gatech.edu) by gatech.edu with SMTP id AA17408 (5.65c/Gatech-10.0-IDA for ); Tue, 15 Aug 1995 13:59:23 -0400 Received: by math (5.x/SMI-SVR4) id AA08809; Tue, 15 Aug 1995 13:54:55 -0400 Resent-Date: Tue, 15 Aug 1995 19:52:52 +0200 (MET DST) Old-Return-Path: From: Zoltan Hidvegi Message-Id: <199508151752.TAA00373@bolyai.cs.elte.hu> Subject: Re: hzoli change: $foo:s//r/ To: heading_anthony@jpmorgan.com (Heading Anthony) Date: Tue, 15 Aug 1995 19:52:52 +0200 (MET DST) Cc: zsh-workers@math.gatech.edu (zsh-workers) In-Reply-To: from "Heading, Anthony" at Aug 15, 95 06:36:43 pm X-Mailer: ELM [version 2.4 PL24] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-Id: <"kJiGS3.0.Z92.kzDCm"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/315 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu But :s//foo/ should either use the last substitution as documented already in the manual or use the whole string to be modified as you want. Other people requested the later behaviour (that's why I changed this and that's what the present maual says about it, I did not change the manual I only changed the code to conform the maual). So what to do now? I'd prefer the present solution as it is consistent with the history substitution behaviour. Zoltan