From owner-freebsd-standards@FreeBSD.ORG Tue Jun 3 18:30:14 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 2F3E937B401; Tue, 3 Jun 2003 18:30:14 -0700 (PDT) Received: from espresso.bsdmike.org (espresso.bsdmike.org [65.39.129.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADAF443F3F; Tue, 3 Jun 2003 18:30:13 -0700 (PDT) (envelope-from mike@espresso.bsdmike.org) Received: by espresso.bsdmike.org (Postfix, from userid 1002) id 40DC49C8E; Tue, 3 Jun 2003 21:13:57 -0400 (EDT) Date: Tue, 3 Jun 2003 21:13:57 -0400 From: Mike Barcroft To: Tony Finch Message-ID: <20030603211357.B70533@espresso.bsdmike.org> References: <20030603144225.GH18938@chiark.greenend.org.uk> <20030603151925.GI18938@chiark.greenend.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030603151925.GI18938@chiark.greenend.org.uk>; from dot@dotat.at on Tue, Jun 03, 2003 at 04:19:25PM +0100 Organization: The FreeBSD Project cc: freebsd-standards@freebsd.org cc: tjr@freebsd.org Subject: Re: [PATCH] for review 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 01:30:14 -0000 Tony Finch writes: > On Tue, Jun 03, 2003 at 03:42:25PM +0100, Tony Finch wrote: > > $ echo foo | sed 's/ */,/g' > > ,f,o,o > > $ echo foo | sed 's/ */,/3' > > ,foo > > $ echo foo | sed 's/ */,/4' > > ,foo > > $ echo foo | sed 's/ */,/5' > > ,foo > > $ > > $ echo foo | ./sed 's/ */,/g' > ,f,o,o, > $ echo foo | ./sed 's/ */,/3' > fo,o > $ echo foo | ./sed 's/ */,/4' > foo, > $ echo foo | ./sed 's/ */,/5' > foo > $ Could you add a test case to the regression test in src/tools/regression? Best regards, Mike Barcroft