Inserting <carriage return> before <newline>

From: Werner Rost <werner.rost_at_boge.mannesmann.de>
Date: Fri, 03 Dec 1999 15:33:25 +0100

Hi all,

some unix files crashes PC-applications because each line ends with \n
(newline), but should end with \r \n (carriage return and newline). Has
anybody a script (sed ?), that inserts \r before \n ?

Thanks in advance
Werner Rost
------------------------------------------------------
Werner Rost, Mannesmann-Boge GmbH
Abt: KIR
Tel: 0228/3825-420
Fax: 0228/3825-398
Email: werner.rost_at_boge.mannesmann.de
Friesdorfer Str. 175, 53175 Bonn - Bad Godesberg
------------------------------------------------------
Received on Fri Dec 03 1999 - 14:35:24 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT