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 protected]
An: [email protected]
Datum: 12. Okt. 00:19
Reply-To: [email protected]
Message-ID: <[email protected]>
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 protected]