bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sed s/../../g command


From: Stepan Kasal
Subject: sed s/../../g command
Date: Tue, 14 May 2002 08:39:34 +0200
User-agent: Mutt/1.2.5.1i

Hallo,
        thinking over the fine details of gsub() command in GNU awk,
I've discovered this behaviour of GNU sed 3.02:

$ echo aabab|sed 's/a*/X/g'
XXbXXbX

I'd expect XbXbX .   Is this a feature or a bug?
(I'm willing to create the patch, in case this is a bug.)

Thank you in advance for explanation,

        Stepan Kasal



reply via email to

[Prev in Thread] Current Thread [Next in Thread]