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: Hans Ginzel <hansginzel <at> gmail.com>
To: 78979 <at> debbugs.gnu.org
Subject: bug#78979: 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)]

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.