often I get annoying CRLF to LF issues when using an editor that doesn't let you specify default line endings like Obsidian, which is super annoying when syncing notes across devices
so here's a script to use. if you want to filter (e.g. only markdown files) you can pass it as an arg like normalize *[.md]