[PLUG] Translating ^M to \n

Rich Shepard rshepard at appl-ecosys.com
Mon Aug 12 23:34:17 UTC 2019


On Mon, 12 Aug 2019, Michael Ewan wrote:

> tr is your friend
> tr '\013' '\n' < old_file > new_file
> this will probably work also
> tr '\r' '\n' < old_file > new_file

Michael,

As I've written, it should but doesn't.

The smallest file can be downloaded from <https://tinyurl.com/y54p8xgv>.

Regards,

Rich




More information about the PLUG mailing list