GNU bug report logs - #63846
Typo in sed manual, missing "@cindex"

Previous Next

Package: sed;

Reported by: Sebastian Carlos <sebaaa1754 <at> gmail.com>

Date: Fri, 2 Jun 2023 14:50:02 UTC

Severity: normal

Full log


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

From: Sebastian Carlos <sebaaa1754 <at> gmail.com>
To: bug-sed <at> gnu.org
Subject: Typo in sed manual, missing "@cindex"
Date: Fri, 2 Jun 2023 16:49:00 +0200
[Message part 1 (text/plain, inline)]
There is an incongruous phrase on "3.3 The s Command":

> number
> Only replace the numberth match of the regexp.
> interaction in s command Note: the POSIX standard does not specify what
should happen when...

 "interaction in s command" is out of place and weirdly capitalized.

I think this is caused by a missing @cindex, based on the source:

> @item @var{number}
> @cindex Replacing only @var{n}th match of regexp in a line
> Only replace the @var{number}th match of the @var{regexp}.
>
> @cindex GNU extensions, @code{g} and @var{number} modifier
> interaction in @code{s} command
> @cindex Mixing @code{g} and @var{number} modifiers in the @code{s} command
> Note: the @sc{posix} standard does not specify what should happen
> when you mix the @code{g} and @var{number} modifiers,
[Message part 2 (text/html, inline)]

This bug report was last modified 2 years and 14 days ago.

Previous Next


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