Subject: bug#78979: closed (Re: bug#78979: Correct example in documentation)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 09 Jul 2025 22:17:02 +0000

Your bug report

#78979: Correct example in documentation

which was filed against the sed package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
78979: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78979
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#78979: Correct example in documentation
From: Jim Meyering <[email-masked]>
To: Hans Ginzel <[email-masked]>
Cc: [email-masked]
Date: Wed, 9 Jul 2025 15:15:59 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

On Wed, Jul 9, 2025 at 6:14 AM Hans Ginzel <[email-masked]> wrote:
> Hi, see attached patch.
> BR, Hans
>
> $ cat 0001-Correct-example-in-documentation.patch
> >From 52d2d228065511a93317ba9aeb08c883ee150020 Mon Sep 17 00:00:00 2001
> From: Hans Ginzel <[email-masked]>
> Date: Wed, 9 Jul 2025 13:36:36 +0200
> Subject: [PATCH] Correct example in documentation
>
> ---
>  doc/sed.texi | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/doc/sed.texi b/doc/sed.texi
> index f681faa..7609a69 100644
> --- a/doc/sed.texi
> +++ b/doc/sed.texi
> @@ -3378,9 +3378,9 @@ As are the following (@samp{0x5b},@samp{0x5d} are the
> hexadecimal
>  @example
>  @group
>  $ echo abc | sed 's/[a]/x/'
> -Xbc
> +xbc
>  $ echo abc | sed 's/\x5ba\x5d/x/'
> -Xbc
> +xbc

Thanks. I added a ChangeLog-style commit log and pushed in your name.

Subject: Correct example in documentation
From: Hans Ginzel <[email-masked]>
To: [email-masked]
Date: Wed, 9 Jul 2025 13:40:59 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi, see attached patch.
BR, Hans

$ cat 0001-Correct-example-in-documentation.patch
>From 52d2d228065511a93317ba9aeb08c883ee150020 Mon Sep 17 00:00:00 2001
From: Hans Ginzel <[email-masked]>
Date: Wed, 9 Jul 2025 13:36:36 +0200
Subject: [PATCH] Correct example in documentation

---
 doc/sed.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/sed.texi b/doc/sed.texi
index f681faa..7609a69 100644
--- a/doc/sed.texi
+++ b/doc/sed.texi
@@ -3378,9 +3378,9 @@ As are the following (@samp{0x5b},@samp{0x5d} are the
hexadecimal
 @example
 @group
 $ echo abc | sed 's/[a]/x/'
-Xbc
+xbc
 $ echo abc | sed 's/\x5ba\x5d/x/'
-Xbc
+xbc
 @end group
 @end example
 @codequoteundirected off
--
2.48.1