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: bug-coreutils-requ...@gnu.org
An: anton_wes...@t-online.de
Datum: 12. Okt.  00:19
Reply-To: bug-coreutils-requ...@gnu.org
Message-ID: <mailman.163.1665526797.1198.bug-coreut...@gnu.org>
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

anton_wes...@t-online.de



Reply via email to