Subject: bug#58469: bug in my tr, version (GNU coreutils) 9.1

From: Anton Wessel <[email-masked]>
Date: Wed, 12 Oct 2022 01:34:49 +0200

addendum:

I have more problems and other problems too.

test:

echo -e "a\n\nb" | sed 's/\n//g

does not handle \n for newline.

I have to make more investgations.
Excuse me.

=====

in OS KNOPPIX 9.1

your email:
+++++

Verzeichnis: Anton_Wessel@t-onli…/INBOX
Betreff: Welcome to the "Bug-coreutils" mailing list (Digest mode)
Von: [email-masked]
An: [email-masked]
Datum: 12. Okt.  00:19
Reply-To: [email-masked]
Message-ID: <[email-masked]>
Größe: 3,29 KB

-----

test:

echo -e "a\n\nb" | tr -s '\n'

or

echo -e "a\n\nb" | tr -s '\n' '\n'

both empty lines are removed, not only one.

Please: is there a wayaround known?

Regards

[email-masked]