Convert Windows line endings to Unix
fix-line-endingsskillsetup L1★381
majiayu000/claude-skill-registry ↗What it does
Convert CRLF line endings to LF
Best for
Fix "$'\r': command not found errors" when bash scripts are checked out with CRLF
Inputs
- · file paths (one or more)
Outputs
- · files with LF line endings
Requires
- · bash
- · dos2unix or sed
Preconditions
File with CRLF endings (Windows format)
Failure modes
- · Silently fails if file is read-only
Trust signals
- · Fixes the specific error message pattern