3 ms·
>Text mode files? I treat everything as binary. This is still an issue today with Windows vs everything else. I regularly filter ^M out of source files. There
by tyingq 5y ago
>Text mode files? I treat everything as binary.
This is still an issue today with Windows vs everything else. I regularly filter ^M out of source files. There's all sorts of hackery in tools like gitbash, wsl and clipboard buffers, etc.
- rlpb 5y agoMy editor autodetects and preserves the line ending character sequence when I save. If I want to change it, I just need to change the setting. Doesn't yours? Why is this still an issue for you?
- tyingq 5y agoYes, there are a variety of ways to deal with it, though editor autodetect doesn't solve every issue I have with \r. One example is ":r! wl-paste" within vim. The carriage return is there, and if I join two lines, it ends up in the middle, where ":set ff unix" doesn't help me when I save.