Convert Windows line endings to Unix with dos2unix (2026)
Windows uses CRLF line endings, Unix uses LF — and the mismatch breaks shell scripts, configs, and diffs. dos2unix converts them in place; on Debian/Ubuntu it's now its own package (no more tofrodos). Includes a recursive batch and a sed fallback.