diff options
Diffstat (limited to 'scripts/dos2unix.sh')
| -rwxr-xr-x | scripts/dos2unix.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/dos2unix.sh b/scripts/dos2unix.sh new file mode 100755 index 0000000..70f9c77 --- /dev/null +++ b/scripts/dos2unix.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +for suffix in c h sh cmake txt in conf lang ebuild po pot 1 rc desktop; do + find . -name \*.$suffix -print | xargs -i sed -i -e 's@\r@@g' {} +done |