GNU bug report logs - #21511
sed not performing as specified

Previous Next

Package: sed;

Reported by: Beagleburt <bruce.gilbert <at> gmail.com>

Date: Fri, 18 Sep 2015 07:54:01 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 21511-done <at> debbugs.gnu.org (full text, mbox):

From: Jim Meyering <jim <at> meyering.net>
To: Davide Brini <dave_br <at> gmx.com>
Cc: 21511-done <at> debbugs.gnu.org
Subject: Re: bug#21511: sed not performing as specified
Date: Sat, 19 Sep 2015 09:35:40 -0700
tags 21511 notabug
thanks

On Fri, Sep 18, 2015 at 1:39 AM, Davide Brini <dave_br <at> gmx.com> wrote:
...
>> "are" giving "Thare"; BUT the following two lines also have "is" replaced
>> by "are" EXCEPT for the "is" after "Thare". It is ALMOST as if I had
>> invoked the global: sed s/is/are/g test1 EXCEPT for the 2nd "is" after
>> "Thare"?
>
> Sed replaces the first instance of "is" in each line with "are". Nothing
> unexpected, no bug.

Thanks for responding Davide.
I'm responding to the bug-number address, but with "-done" inserted to
close the auto-created "issue": 21511-done <at> debbugs.gnu.org.
I added the two lines at the top of this message to record in the
issue database that this is not a bug.




This bug report was last modified 9 years and 300 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.