diff --git a/.github/workflows/Line_Endings.yml b/.github/workflows/Line_Endings.yml index 6e0f0e1..b476595 100644 --- a/.github/workflows/Line_Endings.yml +++ b/.github/workflows/Line_Endings.yml @@ -25,7 +25,7 @@ jobs: - name: Check for CRLF line endings run: | - grep -rl --exclude={"*.pdf","*.png"} --exclude-dir=".git" '\r\n' > tmp.txt + grep -IUlr --exclude={"*.pdf","*.png"} --exclude-dir=".git" $'\r' . > tmp.txt nlines=$(cat tmp.txt | wc -l) if [ $nlines -gt 0 ]; then echo "matl-db repo text files with dos line endings:"