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,
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:13 UTC