GNU bug report logs - #59656
An error on your web page (example 7.20)

Previous Next

Package: sed;

Reported by: "Tomas Kana " <kana <at> seznam.cz>

Date: Mon, 28 Nov 2022 10:55:01 UTC

Severity: normal

To reply to this bug, email your comments to 59656 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#59656; Package sed. (Mon, 28 Nov 2022 10:55:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Tomas Kana " <kana <at> seznam.cz>:
New bug report received and forwarded. Copy sent to bug-sed <at> gnu.org. (Mon, 28 Nov 2022 10:55:02 GMT) Full text and rfc822 format available.

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

From: "Tomas Kana " <kana <at> seznam.cz>
To: <bug-sed <at> gnu.org>
Subject: An error on your web page (example 7.20) 
Date: Mon, 28 Nov 2022 10:54:54 +0100 (CET)
[Message part 1 (text/plain, inline)]
Dear GNU community,


I would like to notify you about an error in the first example


7.20: Squeezing blank lines.


The commented command



# now, squeeze all '\n', this can be also done by:
# s/^\(\n\)*/\1/<br>works fine if the hash tag is erased from the second line, <br>but the next line in the sed script <br>s/\n*/\
/<br>that you have left uncommented on your web page adds an extra blank <br>line after every line. This is not the desired behavior. <br>With best wishes <br>Tomas Kana <br>
[Message part 2 (text/html, inline)]

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

Previous Next


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