News for hackers. Stuff that matters.
Re:Poll HN: What operating system do you primarily develop on? by ulzeraj on Monday January 24, 2022 @05:33AM (#30055797)
> I used to develop on Linux, but eventually wanted something that "just works" so I switched back to Windows. Much less time spent tinkering and more time spent getting things done, and WSL saves me from having to learn Powershell (even if I only hear good things about it).

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.

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.