12-06-2019, 07:40 PM
(This post was last modified: 12-06-2019, 07:40 PM by TheOldPresbyope.
Edit Reason: typos
)
@Tim Curtis
The package dos2unix is available in many Linux distros, including Raspbian.
It's 30 year-old code (!) but it still comes in handy sometimes. Used it a lot back in the day.
Regards,
Kent
The package dos2unix is available in many Linux distros, including Raspbian.
Code:
pi@moodeLR:~ $ apt-cache show dos2unix
Package: dos2unix
Version: 7.4.0-1
Architecture: armhf
...blah...blah...blah...
Description: convert text file line endings between CRLF and LF
This package contains utilities dos2unix, unix2dos, mac2unix,
unix2mac to convert the line endings of text files between UNIX (LF),
DOS (CRLF) and Mac (CR) formats.
...
It's 30 year-old code (!) but it still comes in handy sometimes. Used it a lot back in the day.
Regards,
Kent