awesome-copilot/scripts/fix-line-endings.sh
2025-07-03 12:04:21 +10:00

10 lines
283 B
Bash
Executable File

#!/bin/bash
# Script to fix line endings in all markdown files
echo "Normalizing line endings in markdown files..."
# Find all markdown files and convert CRLF to LF
find . -name "*.md" -type f -exec sed -i 's/\r$//' {} \;
echo "Done! All markdown files now have LF line endings."