GNU bug report logs - #63958
Manual doesn't mention that spaces are allowed between address and command.

Previous Next

Package: sed;

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

Date: Thu, 8 Jun 2023 09:00:02 UTC

Severity: normal

To reply to this bug, email your comments to 63958 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-sed <at> gnu.org:
bug#63958; Package sed. (Thu, 08 Jun 2023 09:00:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sebastian Carlos <sebaaa1754 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-sed <at> gnu.org. (Thu, 08 Jun 2023 09:00:02 GMT) Full text and rfc822 format available.

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: Manual doesn't mention that spaces are allowed between address and
 command.
Date: Thu, 8 Jun 2023 10:59:41 +0200
[Message part 1 (text/plain, inline)]
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
<blank> 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.
[Message part 2 (text/html, inline)]

This bug report was last modified 1 year and 151 days ago.

Previous Next


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