Re:Poll HN: What operating system do you primarily develop on?
by jftuga on Monday January 24, 2022 @08:07PM
(#30066537)
I just finished off a program to show which files use CRLF and which use LF. It also shows results for TAB, NUL, BOM-8 and BOM-16:
https://github.com/jftuga/chars
You can use the -f switch to help with pipelines and -j for JSON output.
I must be the strange one here since WSL is a hardcore nope from me. Mainly because I've gave that setup a chance last year and then after two hours of work I've noticed Windows git or WSL changed all my carriage returns to CLRF and basically broke all scripts and pipelines.