Subject: Re: bug#78979: Correct example in documentation

From: Jim Meyering <[email-masked]>
Date: Wed, 9 Jul 2025 15:15:59 -0700

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.