Fix CRLF (Windows) to LF (Unix) line endings in files. Use when encountering `/bin/bash: line 1: $'\r': command not found` errors.
Scanned 9/8/2026
Install to Claude Code
npx -y skills add mattnigh/skills_collection --skill collection --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Collection?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/mattnigh-collection-ec6ccbf8)More formats (shields.io, HTML) on the badges page.
---
name: fix-line-endings
description: Fix CRLF (Windows) to LF (Unix) line endings in files. Use when encountering `/bin/bash: line 1: $'\r': command not found` errors.
---
# Fix Line Endings
Convert CRLF to LF line endings.
```bash
.claude/skills/fix-line-endings/scripts/fix-line-endings.sh file1.sh file2.sh
```
For combined fix + syntax check, use `fix-line-endings-check-bash` instead.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!