From owner-freebsd-standards@FreeBSD.ORG Wed Jun 4 01:29:28 2003 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DDA937B401; Wed, 4 Jun 2003 01:29:28 -0700 (PDT) Received: from chiark.greenend.org.uk (chiark.greenend.org.uk [193.201.200.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3AC043F85; Wed, 4 Jun 2003 01:29:27 -0700 (PDT) (envelope-from fanf@chiark.greenend.org.uk) Received: by chiark.greenend.org.uk (Debian Exim 3.35 #1) with local id 19NTeA-0007FY-00; Wed, 04 Jun 2003 09:29:26 +0100 Date: Wed, 4 Jun 2003 09:29:26 +0100 From: Tony Finch To: Tim Robbins Message-ID: <20030604082926.GL18938@chiark.greenend.org.uk> References: <20030603144225.GH18938@chiark.greenend.org.uk> <20030604113229.A41800@dilbert.robbins.dropbear.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030604113229.A41800@dilbert.robbins.dropbear.id.au> User-Agent: Mutt/1.3.28i Sender: Tony Finch cc: freebsd-standards@freebsd.org Subject: Re: Sed substitution bugs X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2003 08:29:28 -0000 On Wed, Jun 04, 2003 at 11:32:29AM +1000, Tim Robbins wrote: > > The patch looks fine, but it isn't obvious to me that the second part > (handling the /nnn bits) is correct. It seems to produce the right output > though. The if clause that I added is a counterpart to the rm_so == rm_eo case in the /g code. I'll commit the patch with a regression test. Thanks for looking at it. Tony. -- f.a.n.finch http://dotat.at/ COLWYN BAY TO THE MULL OF GALLOWAY INCLUDING THE ISLE OF MAN: SOUTH BACKING SOUTHEAST 2 OR 3 LOCALLY 4, VEERING SOUTHWEST 4 OR 5 LATER. CLOUDY, PERIOD RAIN THEN SHOWERS, DRY, FAIR LATER. GOOD FALLING MODERATE IN RAIN OR SHOWERS. SLIGHT INCREASING MODERATE.