From unknown Tue Jun 17 01:46:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#63958: Manual doesn't mention that spaces are allowed between address and command. Resent-From: Sebastian Carlos Original-Sender: "Debbugs-submit" Resent-CC: bug-sed@gnu.org Resent-Date: Thu, 08 Jun 2023 09:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63958 X-GNU-PR-Package: sed X-GNU-PR-Keywords: To: 63958@debbugs.gnu.org X-Debbugs-Original-To: bug-sed@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168621479925720 (code B ref -1); Thu, 08 Jun 2023 09:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Jun 2023 08:59:59 +0000 Received: from localhost ([127.0.0.1]:55658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7BUs-0006gm-Kr for submit@debbugs.gnu.org; Thu, 08 Jun 2023 04:59:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:55868) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7BUq-0006gc-IT for submit@debbugs.gnu.org; Thu, 08 Jun 2023 04:59:57 -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 1q7BUq-0008W1-BD for bug-sed@gnu.org; Thu, 08 Jun 2023 04:59:56 -0400 Received: from mail-lj1-x242.google.com ([2a00:1450:4864:20::242]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q7BUo-0001p1-Rl for bug-sed@gnu.org; Thu, 08 Jun 2023 04:59:56 -0400 Received: by mail-lj1-x242.google.com with SMTP id 38308e7fff4ca-2b1b5d1bbf1so321201fa.1 for ; Thu, 08 Jun 2023 01:59:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686214792; x=1688806792; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=W24k3ptsKpqohWX8qVmEsxQLKKKRV1eNJ/ApVCuKkOo=; b=DjsJbtdtzpHC2Cljk/albgL9CyKOOIs6Yx3m8FgOWlOuRHLw+rVhH4Y17rCbZtcoKO UExepeTtV7DXUzq7TjjDCGsWNxpvJJoNpQWFJKSCaB72vBJ++lZCQJWi69LDbqVLBCBx cQuwZYypDLWhNM2Z66FZODHQt8e3DIfeVCuFKbOgarjT3xUPsSi+TSjVlLn744ikUABm +Fe9U8r3mrE1h4HxTLq82Ah7y+3r8HRrfn/yIIltFBJUAukF4y6Qx5W6QnbULqs7cs8r OxCTbqkkwfNP6dBVyvH9wLyFAse6EwW0dvTI/4Wqn+Z6ujAekfb4Gyct7gql/KXLyujd 7Wtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686214792; x=1688806792; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=W24k3ptsKpqohWX8qVmEsxQLKKKRV1eNJ/ApVCuKkOo=; b=Znn/Rh0xUQk+No8TbKhaDhh6DhoQRfvSrKzwJw3F/GVtseFYSgOwTh7sOVHeBxS+HB 1Jj0wcHg+vPUOE/n5pCJfttYOXIO0VPE1SD0qMvdqmOC+nHQigx6VyvdELMbuxlucC1w VQ9qfejiunfBr5wDHu06rfbFOoaheytzun4QKvsRQllAbUDxnK/yW5zPXQX+YY6vBRVS dAP+uCP6Zpo0U+MG6p/yC6W5R0TebtqmNUp5rMRYg/tsTxkGJ9tA9HWx7cSVWErvJFdW skbK+ujZR/aAZnDVFa7uTyI0c3s6rQJWOHVla9/8D0CNGYMIeLYWFgwl4wEeh96tfwTI Qoaw== X-Gm-Message-State: AC+VfDyuZBoB0N4hWN2AulokSVAvwZXhAJFq2R+7Y34ufjZzPI3qJ/3L g7VbQczLWi3utckP4MDQSfwTrpElCRbS5nto24JGhWSfPcbt4A== X-Google-Smtp-Source: ACHHUZ5fuP69YgthT6RFlqFcbsFAMDj5F37vuC8eU2wNDQP3JHb4VW5e02fV/oMjowTfICK3rLnn19dAi4DumNIPQWY= X-Received: by 2002:a05:651c:381:b0:2b1:c077:8d9 with SMTP id e1-20020a05651c038100b002b1c07708d9mr2680630ljp.4.1686214792201; Thu, 08 Jun 2023 01:59:52 -0700 (PDT) MIME-Version: 1.0 From: Sebastian Carlos Date: Thu, 8 Jun 2023 10:59:41 +0200 Message-ID: Content-Type: multipart/alternative; boundary="000000000000b44b6405fd9a794a" Received-SPF: pass client-ip=2a00:1450:4864:20::242; envelope-from=sebaaa1754@gmail.com; helo=mail-lj1-x242.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 (--) --000000000000b44b6405fd9a794a Content-Type: text/plain; charset="UTF-8" Hello, Section "3.1 sed script overview" says: > sed commands follow this syntax: > [addr]X[options] > X is a single-letter sed command. [addr] is an optional line address... Considering that I've seen this misconception repeated in several places online, and considering that sed's POSIX specification is more clear on the matter ("[address[,address]]function [...] The function can be preceded by characters. These optional characters shall have no effect."), i suggest adding this piece of information to this section of the manual. Thanks for your time. --000000000000b44b6405fd9a794a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

Section "3.1 sed script ove= rview" says:

> sed commands follow this sy= ntax:
> [addr]X[options]
> X is a single-letter sed command. [a= ddr] is an optional line address...

Considerin= g that I've seen this misconception=C2=A0repeated in several places onl= ine, and considering that sed's POSIX specification is more clear on th= e matter ("[address[,address]]function [...] The function can be prece= ded by <blank> characters. These optional characters shall have no ef= fect."), i suggest adding this piece of information to this section of= the manual.

Thanks for your time.
--000000000000b44b6405fd9a794a--