From unknown Sat Aug 16 16:10:15 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#21511 <21511@debbugs.gnu.org> To: bug#21511 <21511@debbugs.gnu.org> Subject: Status: sed not performing as specified Reply-To: bug#21511 <21511@debbugs.gnu.org> Date: Sat, 16 Aug 2025 23:10:15 +0000 retitle 21511 sed not performing as specified reassign 21511 sed submitter 21511 Beagleburt severity 21511 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 18 03:53:08 2015 Received: (at submit) by debbugs.gnu.org; 18 Sep 2015 07:53:09 +0000 Received: from localhost ([127.0.0.1]:36625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZcqTj-0005T9-BD for submit@debbugs.gnu.org; Fri, 18 Sep 2015 03:53:08 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37901) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZcowR-0002sr-7F for submit@debbugs.gnu.org; Fri, 18 Sep 2015 02:14:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZcowP-0001Q4-UO for submit@debbugs.gnu.org; Fri, 18 Sep 2015 02:14:38 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.5 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_IMAGE_ONLY_20,HTML_MESSAGE,HTML_SHORT_LINK_IMG_3,T_DKIM_INVALID, T_REMOTE_IMAGE autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcowP-0001Py-Qq for submit@debbugs.gnu.org; Fri, 18 Sep 2015 02:14:37 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47894) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcowO-0007PA-Hl for bug-sed@gnu.org; Fri, 18 Sep 2015 02:14:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZcowN-0001Ov-CJ for bug-sed@gnu.org; Fri, 18 Sep 2015 02:14:36 -0400 Received: from mail-lb0-x22d.google.com ([2a00:1450:4010:c04::22d]:36245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcowN-0001NT-4p for bug-sed@gnu.org; Fri, 18 Sep 2015 02:14:35 -0400 Received: by lbcao8 with SMTP id ao8so20063919lbc.3 for ; Thu, 17 Sep 2015 23:14:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=X8kBCEUMYzPaxwSwHXB66CiksG64NInwDaFi5puR0g4=; b=F/pNQwJLa4XVpmlHhT5EsNzGRNoLvT/zsv7bm0inLcX/kXUp2OnB3L8x/3NFyDB6jW 3od7RGNKTsAKmDA4DQnmgIFOEDirRYslqn+/BsjGjiZW4Z8jHOHMW47hpc9Ke2eBwLFR Qz7wgC2mn/B69B2sH1jBQ5BNCRIn1wK6RucMrLb7O+xDQdCT3fjv/nmb3Z7p2Vyg3n5S CfL5R/9LgvW75SDaNfjAaLqPQ+85xk02GtTazeT0IFi00XI0q4f5RRs9f9sVCAPmSAzu f9JM/Jkw7kkbSyv+vot855lgs5+MSb1b6++vXjIolD87t1h95oTzD9DXDQ375UdTsmGr +87A== MIME-Version: 1.0 X-Received: by 10.152.6.201 with SMTP id d9mr2376566laa.66.1442556868772; Thu, 17 Sep 2015 23:14:28 -0700 (PDT) Received: by 10.112.51.84 with HTTP; Thu, 17 Sep 2015 23:14:28 -0700 (PDT) Date: Fri, 18 Sep 2015 18:14:28 +1200 Message-ID: Subject: sed not performing as specified From: Beagleburt To: bug-sed@gnu.org Content-Type: multipart/alternative; boundary=089e013d1a94bb4b95051fff714a X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 18 Sep 2015 03:53:05 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.0 (---) --089e013d1a94bb4b95051fff714a Content-Type: text/plain; charset=UTF-8 I am doing an online course "Introduction to Linux" [image: edX] Home Page LinuxFoundationX: LFS101x.2 Introduction to Linux Chapter 13: Manipulating Text; Section 2. sed & awk ~$ cat > test1 This is a Sample Test File for the sed command. The sed command is used to edit contents in a file. For example, the sed command is used to replace words in a line or file. ~$ sed s/is/are/ test1 Thare is a Sample Test File for the sed command. The sed command are used to edit contents in a file. For example, the sed command are used to replace words in a line or file. As you can see above the 1st instance of "is" in "This" is replaced by "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"? I am using sed version: sed (GNU sed) 4.2.2 'b'ye - Bruce Gilbert. "For we have not been given a spirit of fear, but a spirit of Power; of Love; & of a Sound Mind." 2nd Timothy, chapter 1, verse 7. --089e013d1a94bb4b95051fff714a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I am doing an online course "Introduction to Lin= ux"=C2=A0

=20 3D"edX" Home Page =20

LinuxFoundationX: LFS101x.2 Intr= oduction to Linux

Chapter 13: Manipulating Text; Section 2. = sed & awk

~$ cat > test1
Thi= s is a Sample Test File for the sed command.
The sed command is u= sed to edit contents in a file.
For example, the sed command is u= sed to replace words in a line or file.
~$ sed s/is/ar= e/ test1
Thare is a Sample Test File for the sed command.
The sed command are used to edit contents in a file.
For examp= le, the sed command are used to replace words in a line or file.

As you can see above the 1st instance of "is"= ; in "This" is replaced by "are" giving "Thare&quo= t;; BUT the following two lines also have "is" replaced by "= are" EXCEPT for the "is" after "Thare". It is ALMO= ST as if I had invoked the global: sed s/is/are/g test1 EXCEPT for the 2nd = "is" after "Thare"?

I am using= sed version: sed (GNU sed) 4.2.2

'b'ye - = Bruce Gilbert.



"For we have not been gi= ven a spirit of fear, but a spirit of Power; of Love; & of a Sound Mind= ." 2nd Timothy, chapter 1, verse 7.
--089e013d1a94bb4b95051fff714a-- From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 18 04:39:25 2015 Received: (at submit) by debbugs.gnu.org; 18 Sep 2015 08:39:25 +0000 Received: from localhost ([127.0.0.1]:36634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZcrCW-0006db-UP for submit@debbugs.gnu.org; Fri, 18 Sep 2015 04:39:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57819) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZcrCV-0006dT-5f for submit@debbugs.gnu.org; Fri, 18 Sep 2015 04:39:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZcrCT-0004vY-UA for submit@debbugs.gnu.org; Fri, 18 Sep 2015 04:39:22 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51525) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcrCT-0004vO-JH for submit@debbugs.gnu.org; Fri, 18 Sep 2015 04:39:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcrCS-0004Ms-Di for bug-sed@gnu.org; Fri, 18 Sep 2015 04:39:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZcrCP-0004ty-7u for bug-sed@gnu.org; Fri, 18 Sep 2015 04:39:20 -0400 Received: from mout.gmx.net ([212.227.17.20]:60222) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcrCP-0004tb-2T for bug-sed@gnu.org; Fri, 18 Sep 2015 04:39:17 -0400 Received: from zoot.sax ([84.88.50.104]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0M55BC-1YfoKL0n0Q-00zDGp for ; Fri, 18 Sep 2015 10:39:15 +0200 Date: Fri, 18 Sep 2015 10:39:14 +0200 From: Davide Brini To: bug-sed@gnu.org Subject: Re: bug#21511: sed not performing as specified In-Reply-To: References: X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID: <0MegeC-1ZEbBD1UzY-00OE5h@mail.gmx.com> X-Provags-ID: V03:K0:HJ7KNgSA/dMwkRpupp9RtwzM4FHZsAuKeMpb2cUSfhN0ghgue2w uUqzRnSOCaaDMEz+LWdRBCAUn3jIm48hxQQfmwQlLkA3t2ERf8+ifBt7DK1PBzucJlIvWir NtM600zs1OZLDqyavf9h0nKXDigtkF8pLsXS+569lWsKZnSt9GK4G+S72adOro9VzxIW1UJ DNPhQn4r+kylxMpaAscTA== X-UI-Out-Filterresults: notjunk:1;V01:K0:JJB/AY7ETbE=:JKzlJx68JX7ynGpOb2UXaa Tu7DY0UyP3WA6Ky3Rq9K2JgOYNQILNR5O62FLGaj3tBl1hHp1SNOvUojkihGwg1pQvQn6xvwS RFGVGNI3fEiDEwFFvD9LqW9QanE4elF6NHVxCPXFZh+YOvkKhTG3aRN3HhsJpTTlSIcsiLwt8 9Z82bmXVW2B1dcnYgprSN/jV80jSbI+Ijk4BU605CfENyOPai733djhk5fZxar2/fn+UPcfa2 A8Ml3ytomWCxSGAHlfIP/YbaPFk0V/0oXTas96/0LM2e03vEJv5VSGlP33LBteEVjms6vzdVK FxxEV2TWgh0Nkp8y8wYQmZ7zHPS1fEucyvwB9Gj/w2evCjZkbVSwRTRkm40gjS3krIKIlrwyH zgdBGSWGlReZ2zcl24ozqxiqSmrSIYeYv3OExBviwkbewY0Y8I5y9Vaf+feKkjUA/y5aAjXj2 7GW0+MLEpfldwCfhOfrn1OvAkjGKwN67jHy/eLoPsMUUFJ5ow5ruCF3Ewk4CC27Ij99Y+W/R7 ZztphNQL2drfoEEBjmhqmLHAHPx1tlkcCX+3S81WDMSc70a1sEzhRE/7A9uIt/CEXPb0qoV4t z484p/k3Yl9R3YwHWjmunFIrguqK7iPdtjkLCWfEEgQ2nd5ZMRKCbVi2sc+ikt8jAnKzKk+rf XkE4kbV7YrOeeMoUrGiF2OtKhAcoUCL6Q4r76PuvddTqIgj491ifTf40yHrm6eS4v3EkAo+TS CD/vxt69BS58enscEUL4kMqvprqtn0qUUVwUTg== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) On Fri, 18 Sep 2015 18:14:28 +1200, Beagleburt wrote: > I am doing an online course "Introduction to Linux" > [image: edX] Home Page LinuxFoundationX: LFS101x.2 > Introduction to Linux > Chapter 13: Manipulating Text; Section 2. sed & awk > > ~$ cat > test1 > This is a Sample Test File for the sed command. > The sed command is used to edit contents in a file. > For example, the sed command is used to replace words in a line or file. > ~$ sed s/is/are/ test1 > Thare is a Sample Test File for the sed command. > The sed command are used to edit contents in a file. > For example, the sed command are used to replace words in a line or file. > > As you can see above the 1st instance of "is" in "This" is replaced by > "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. -- D. From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 19 02:15:00 2015 Received: (at submit) by debbugs.gnu.org; 19 Sep 2015 06:15:00 +0000 Received: from localhost ([127.0.0.1]:37403 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZdBQJ-0005Nz-NB for submit@debbugs.gnu.org; Sat, 19 Sep 2015 02:15:00 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37048) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZdBQG-0005Nq-Id for submit@debbugs.gnu.org; Sat, 19 Sep 2015 02:14:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZdBQF-0003fa-4Q for submit@debbugs.gnu.org; Sat, 19 Sep 2015 02:14:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_IMAGE_ONLY_28,HTML_MESSAGE,T_DKIM_INVALID,T_REMOTE_IMAGE autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZdBQF-0003fW-0Q for submit@debbugs.gnu.org; Sat, 19 Sep 2015 02:14:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZdBQD-0003TX-S7 for bug-sed@gnu.org; Sat, 19 Sep 2015 02:14:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZdBQC-0003eF-Ie for bug-sed@gnu.org; Sat, 19 Sep 2015 02:14:53 -0400 Received: from mail-la0-x22c.google.com ([2a00:1450:4010:c03::22c]:35881) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZdBQC-0003bl-5h for bug-sed@gnu.org; Sat, 19 Sep 2015 02:14:52 -0400 Received: by lanb10 with SMTP id b10so41464073lan.3 for ; Fri, 18 Sep 2015 23:14:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=hlx4QFyLWxG84qw3KMUQoW/CbH5CqBFL692HQydEWLc=; b=hAQORhL0Y0f9i6K2PVWn3dqWR73c91ukrAH+R8mg/Y+fYAiTdYUS44AMfh1HNnXmjm QCH4ajJK7kARMCTxCiPq1TwTTZGnT6WA4GmozZzzAucNaRZY6sTNpMm/DE+LypQULlwb xqLhiQYcMZP6wumqc+nKA9GxffNBwwHTq11ZpD4CUcgDh6ywcixWvwAicR1Y8XRWbKEf Vw/bIdiRlqZUfwgAZXTfAOK5FBcfP0b48ISRRHM4Kb+C4gvO56BA7lQerVDDp/XtG1cC LRoP5VOH5k2p6N9FLjEOszWP68FOSAQ6tmVWykYaYhATb2tfOWih4CjGPXdSBbeepMpE GeMQ== MIME-Version: 1.0 X-Received: by 10.112.146.104 with SMTP id tb8mr4500645lbb.35.1442643285823; Fri, 18 Sep 2015 23:14:45 -0700 (PDT) Received: by 10.112.51.84 with HTTP; Fri, 18 Sep 2015 23:14:45 -0700 (PDT) In-Reply-To: References: Date: Sat, 19 Sep 2015 18:14:45 +1200 Message-ID: Subject: Re: sed not performing as specified From: Beagleburt To: bug-sed@gnu.org Content-Type: multipart/alternative; boundary=047d7b3a8bd096d6ed05201390a5 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --047d7b3a8bd096d6ed05201390a5 Content-Type: text/plain; charset=UTF-8 MY MISTAKE - I MISUNDERSTOOD THE VIDEO ABOUT sed. PLEASE IGNORE MY "bug" REPORT! SORRY! "For we have not been given a spirit of fear, but a spirit of Power; of Love; & of a Sound Mind." 2nd Timothy, chapter 1, verse 7. On 18 September 2015 at 18:14, Beagleburt wrote: > I am doing an online course "Introduction to Linux" > [image: edX] Home Page LinuxFoundationX: LFS101x.2 > Introduction to Linux > Chapter 13: Manipulating Text; Section 2. sed & awk > > ~$ cat > test1 > This is a Sample Test File for the sed command. > The sed command is used to edit contents in a file. > For example, the sed command is used to replace words in a line or file. > ~$ sed s/is/are/ test1 > Thare is a Sample Test File for the sed command. > The sed command are used to edit contents in a file. > For example, the sed command are used to replace words in a line or file. > > As you can see above the 1st instance of "is" in "This" is replaced by > "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"? > > I am using sed version: sed (GNU sed) 4.2.2 > > 'b'ye - Bruce Gilbert. > > > > "For we have not been given a spirit of fear, but a spirit of Power; of > Love; & of a Sound Mind." 2nd Timothy, chapter 1, verse 7. > --047d7b3a8bd096d6ed05201390a5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
MY MISTAKE - I MISUNDERSTOOD THE VIDEO ABOUT sed. PLEASE I= GNORE MY "bug" REPORT! SORRY!
"F= or we have not been given a spirit of fear, but a spirit of Power; of Love;= & of a Sound Mind." 2nd Timothy, chapter 1, verse 7.

On 18 September 2015 at 18:14, Beagleburt <bruce.gilbert@gmail.com> wrote:
I am doing an online course "Introduc= tion to Linux"=C2=A0

=20 3D"edX" Home Page =20

LinuxFoundationX: LFS101x.2 Introduction to Linux

=
Chapter 13: Manipulating Text; Section 2. sed & awk

~$ cat > test1
This is a Sample Test Fil= e for the sed command.
The sed command is used to edit contents i= n a file.
For example, the sed command is used to replace words i= n a line or file.
~$ sed s/is/are/ test1
Tha= re is a Sample Test File for the sed command.
The sed command are= used to edit contents in a file.
For example, the sed command ar= e used to replace words in a line or file.

A= s you can see above the 1st instance of "is" in "This" = is replaced by "are" giving "Thare"; BUT the following = two lines also have "is" replaced by "are" EXCEPT for t= he "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 &= quot;Thare"?

I am using sed version: sed (GNU= sed) 4.2.2

'b'ye - Bruce Gilbert.



&q= uot;For we have not been given a spirit of fear, but a spirit of Power; of = Love; & of a Sound Mind." 2nd Timothy, chapter 1, verse 7.

--047d7b3a8bd096d6ed05201390a5-- From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 19 12:36:03 2015 Received: (at 21511-done) by debbugs.gnu.org; 19 Sep 2015 16:36:03 +0000 Received: from localhost ([127.0.0.1]:37857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZdL7K-0005IT-WA for submit@debbugs.gnu.org; Sat, 19 Sep 2015 12:36:03 -0400 Received: from mail-ig0-f172.google.com ([209.85.213.172]:36134) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZdL7I-0005I3-CC for 21511-done@debbugs.gnu.org; Sat, 19 Sep 2015 12:36:01 -0400 Received: by igcrk20 with SMTP id rk20so36816997igc.1 for <21511-done@debbugs.gnu.org>; Sat, 19 Sep 2015 09:35:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=voO61k509oxJYFXHhalEDHP/msCACEutwB6j7EVnlf0=; b=rKFDdzKCTWbefoHa+T3fY3rA25o7O/3KDmRNi4FqItnhmmslBRqB4Aj98GBlD0KQTG cDs1rC6e8cv83iaIBgW0wPwoxvJpn0hfKeZmqV/qHdnAGhPDrAwyVmOSIHWqhMLHlfKN duu+uO4QpG70DEUBhHcm0rn8xQUM8gZSqnqgLJwlJFPQ4w7rHOzsu+QwVI2XTry1wDTw 9zpZaT9FFgs+U/5VLMihOqVscW3VDkABOV5o2rDLtGeBhR/D8zm0vWS4SIco2Js6W8pl cd2dXfyuvUINU7VpXlaH0TVcPM3stfUSO5i0tcdCGpc4wnIloSvXvnwWKJjk/WQC+YRa 806A== X-Received: by 10.50.83.65 with SMTP id o1mr3473330igy.50.1442680559656; Sat, 19 Sep 2015 09:35:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.137.136 with HTTP; Sat, 19 Sep 2015 09:35:40 -0700 (PDT) In-Reply-To: <0MegeC-1ZEbBD1UzY-00OE5h@mail.gmx.com> References: <0MegeC-1ZEbBD1UzY-00OE5h@mail.gmx.com> From: Jim Meyering Date: Sat, 19 Sep 2015 09:35:40 -0700 X-Google-Sender-Auth: 6Y28BF8KjB5EYljQcIS3rftSGk4 Message-ID: Subject: Re: bug#21511: sed not performing as specified To: Davide Brini Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21511-done Cc: 21511-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) tags 21511 notabug thanks On Fri, Sep 18, 2015 at 1:39 AM, Davide Brini 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@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. From unknown Sat Aug 16 16:10:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 18 Oct 2015 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator