From unknown Sun Jun 15 08:52:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63846: Typo in sed manual, missing "@cindex" Resent-From: Sebastian Carlos Original-Sender: "Debbugs-submit" Resent-CC: bug-sed@gnu.org Resent-Date: Fri, 02 Jun 2023 14:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63846 X-GNU-PR-Package: sed X-GNU-PR-Keywords: To: 63846@debbugs.gnu.org X-Debbugs-Original-To: bug-sed@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16857173611913 (code B ref -1); Fri, 02 Jun 2023 14:50:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Jun 2023 14:49:21 +0000 Received: from localhost ([127.0.0.1]:40628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q565h-0000Un-69 for submit@debbugs.gnu.org; Fri, 02 Jun 2023 10:49:21 -0400 Received: from lists.gnu.org ([209.51.188.17]:33278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q565f-0000Ud-9s for submit@debbugs.gnu.org; Fri, 02 Jun 2023 10:49:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q565e-00034T-72 for bug-sed@gnu.org; Fri, 02 Jun 2023 10:49:18 -0400 Received: from mail-lf1-x141.google.com ([2a00:1450:4864:20::141]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q565c-0007O7-4s for bug-sed@gnu.org; Fri, 02 Jun 2023 10:49:17 -0400 Received: by mail-lf1-x141.google.com with SMTP id 2adb3069b0e04-4f61307827cso102691e87.1 for ; Fri, 02 Jun 2023 07:49:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685717352; x=1688309352; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=mLVkcll9DfYbDrB30fWDolsXZ01uVXCEYFdQsIEE2kc=; b=jCrdEzRRXt4CN/Ivu9vyA28iB0a1XibUT2IApJ7YkTKfvzTFrgjbwPrJX0sv3Ud1de HczEGawnN4QhVU8G8mOWFEZUNnqrMvHFhGGLPRqIyCL1hYa8ikcJ8ESOCC7dwBUDhwO8 BKaPvlJpV+mqszR1tefBvWKA7An/EsswwiIOTwzFkz8rqrkyZNYhXPEG+HGjbYHPvdPp 87kzn1IQfIHLqFw4ZJ+D6qrlN8t8DTUWttNfIkK/+CoN5kkou8vC4W3h0qQTd3dKiWsX WSlPy03t5QdG3qiFRyM+wBGKZUxCMUo7mUMOLk2b2mlMb0fvlxCqGuP0vBTmc2bmJMzo NLeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685717352; x=1688309352; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=mLVkcll9DfYbDrB30fWDolsXZ01uVXCEYFdQsIEE2kc=; b=fxDLxbJZaaRM2o5Lk9zLt/gsDrLSh3oye0efZMiwPUs1/BcIWNOSZ4n+UwW9c8VNch wDvR6HmfngxpKGDWVcLf1jbUnmGObEJr4TYkDCG0RIb3VbB0JXXzExW9L6yxlUf/NRhV GQ8FUm2EbhNc3Qzj6l9yMKOVuMbHhFVds92X1+4kvgJDQTcNfmAaOvXVSz3T3Ih+nur0 cQJ9ij04yG6mnlk/CUoPjmdNiNtFqy1QRLsl/MMi6JLW1atrPX9a/2WwuACTLTJ9JTVN L2+55i2w3Ld/8cHv1UNEUBMF3y258DSl5tqzNWwtrnH70wgswQCqoDBvuATLtFFq5nQj +CiQ== X-Gm-Message-State: AC+VfDwbzirRKzAja18esUsypqLheVSZD8fOoC3VzBFWXnYKTNgfZZh8 6wtD8lqSPwUlmWw0JQGtGOFmyszGAjSCRi7U+Pb4em1s6jaR5g== X-Google-Smtp-Source: ACHHUZ60ekCY+2PPo/oOmePoNGvJYfFnahjTBLc64Hn9+0YHqawPfLwJqjCHpfWnvbTp+KkKo8dBtawDr3czhNywMi0= X-Received: by 2002:a2e:b5b7:0:b0:2b0:6792:c6d9 with SMTP id f23-20020a2eb5b7000000b002b06792c6d9mr3857292ljn.4.1685717351822; Fri, 02 Jun 2023 07:49:11 -0700 (PDT) MIME-Version: 1.0 From: Sebastian Carlos Date: Fri, 2 Jun 2023 16:49:00 +0200 Message-ID: Content-Type: multipart/alternative; boundary="000000000000f27a7305fd26a746" Received-SPF: pass client-ip=2a00:1450:4864:20::141; envelope-from=sebaaa1754@gmail.com; helo=mail-lf1-x141.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) --000000000000f27a7305fd26a746 Content-Type: text/plain; charset="UTF-8" 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, --000000000000f27a7305fd26a746 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
There is an incongruous=C2=A0phrase on "3.3 The s Com= mand":

> number
> Only replace the numbert= h match of the regexp.
> interaction in s command Note: the POSIX sta= ndard does not specify what should happen when...

= =C2=A0"interaction in s command" is out of place and weirdly capi= talized.

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

> @item @var{numb= er}
>=C2=A0@cindex Replacing only @var{n}th match of regexp in a line=
>=C2=A0Only replace the @var{number}th match of the @var{regexp}.>=C2=A0
>=C2=A0@cindex GNU extensions, @code{g} and @var{number} = modifier
>=C2=A0interaction in @code{s} command
>=C2=A0@cindex = Mixing @code{g} and @var{number} modifiers in the @code{s} command
>= =C2=A0Note: the @sc{posix} standard does not specify what should happen
= >=C2=A0when you mix the @code{g} and @var{number} modifiers,
--000000000000f27a7305fd26a746--