GNU bug report logs - #78979
Correct example in documentation

Previous Next

Package: sed;

Reported by: Hans Ginzel <hansginzel <at> gmail.com>

Date: Wed, 9 Jul 2025 13:06:02 UTC

Severity: normal

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

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Hans Ginzel <hansginzel <at> gmail.com>
Subject: bug#78979: closed (Re: bug#78979: Correct example in documentation)
Date: Wed, 09 Jul 2025 22:17:02 +0000
[Message part 1 (text/plain, inline)]
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 78979 <at> debbugs.gnu.org.

-- 
78979: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78979
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jim Meyering <jim <at> meyering.net>
To: Hans Ginzel <hansginzel <at> gmail.com>
Cc: 78979-done <at> debbugs.gnu.org
Subject: Re: bug#78979: Correct example in documentation
Date: Wed, 9 Jul 2025 15:15:59 -0700
On Wed, Jul 9, 2025 at 6:14 AM Hans Ginzel <hansginzel <at> gmail.com> 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 <hans <at> matfyz.cz>
> 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.

[Message part 3 (message/rfc822, inline)]
From: Hans Ginzel <hansginzel <at> gmail.com>
To: bug-sed <at> gnu.org
Subject: Correct example in documentation
Date: Wed, 9 Jul 2025 13:40:59 +0200
[Message part 4 (text/plain, inline)]
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 <hans <at> matfyz.cz>
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
[Message part 5 (text/html, inline)]

This bug report was last modified 17 days ago.

Previous Next


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