Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jun 2003 21:13:57 -0400
From:      Mike Barcroft <mike@FreeBSD.org>
To:        Tony Finch <dot@dotat.at>
Cc:        tjr@freebsd.org
Subject:   Re: [PATCH] for review Re: Sed substitution bugs
Message-ID:  <20030603211357.B70533@espresso.bsdmike.org>
In-Reply-To: <20030603151925.GI18938@chiark.greenend.org.uk>; from dot@dotat.at on Tue, Jun 03, 2003 at 04:19:25PM %2B0100
References:  <20030603144225.GH18938@chiark.greenend.org.uk> <20030603151925.GI18938@chiark.greenend.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Tony Finch <dot@dotat.at> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030603211357.B70533>