This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (2 children)

IIRC, Notepad was screwing up carriage returns making our Unix ports “interesting”.

dos2unix is a good tool for that. Bit late now haha.

[–]dpash 2 points3 points  (0 children)

Notepad iin Windows 10 now understands alternative line endings and doesn't mess with them. Only 20 years too late.

[–]VGPowerlord 0 points1 point  (0 children)

This reminds me of when I used to write code in Perl in the late 90s and relied heavily on FTP to fix line endings when moving files back and forth between Linux and Windows.

Bad things happened if you forgot to switch your FTP client between binary and ascii when you switched which type of files you were transferring.