bug-sed
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#59656: An error on your web page (example 7.20)


From: Tomas Kana
Subject: bug#59656: An error on your web page (example 7.20)
Date: Mon, 28 Nov 2022 10:54:54 +0100 (CET)

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>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]