find . -name "*.sh" -exec grep -l "\r\n" {} \;
to fix them:
find . -name "*.sh" -exec grep -l "\r\n" {} \; | xargs dos2unix
to fix them:
find . -name "*.sh" -exec grep -l "\r\n" {} \; | xargs dos2unix