Re: buildworld error

From: Xin LI <delphij_at_delphij.net>
Date: Fri, 06 Jul 2007 22:34:32 +0800
YAMAMOTO Shigeru wrote:
> Hi, all,
> 
> I check a code to generate 'md2hl.c'.
> I find 'sed' does not work right.
> 
> I test following patterns.
> % echo "abcdefg" | sed -e 's/abc/hij/g'
> hijdefg
> % echo "ABCDEFG" | sed -e 's/abc/hij/g'
> hijDEFG
> % echo "abcdefg" | sed -e 's/ABC/HIJ/g'
> HIJdefg
> % echo "ABCDEFG" | sed -e 's/ABC/HIJ/g'
> HIJDEFG
> 
> It seems me 'sed' always work with '/I'.
> #'I' option is added at '2007/07/04 16:42:41'.
> 
> Is it bug?

I think so.  Try attached patch.

Cheers,

Received on Fri Jul 06 2007 - 12:34:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:13 UTC