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>

To reply to this bug, email your comments to 78979 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-sed <at> gnu.org:
bug#78979; Package sed. (Wed, 09 Jul 2025 13:06:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hans Ginzel <hansginzel <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-sed <at> gnu.org. (Wed, 09 Jul 2025 13:06:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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 1 (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 2 (text/html, inline)]

Reply sent to Jim Meyering <jim <at> meyering.net>:
You have taken responsibility. (Wed, 09 Jul 2025 22:17:01 GMT) Full text and rfc822 format available.

Notification sent to Hans Ginzel <hansginzel <at> gmail.com>:
bug acknowledged by developer. (Wed, 09 Jul 2025 22:17:02 GMT) Full text and rfc822 format available.

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

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.




This bug report was last modified 1 day ago.

Previous Next


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