diff options
| author | xHire <xhire@tuxportal.cz> | 2009-04-25 16:22:04 +0200 |
|---|---|---|
| committer | xHire <xhire@tuxportal.cz> | 2009-04-25 16:22:04 +0200 |
| commit | 5ed6b5cc5a223117c3693f9a7ec57125273f6bc5 (patch) | |
| tree | dc7f34441c6464d4ef10121fde062dcb312706e5 /scripts | |
| parent | ba89ad155c7b5575185858ea5a4d2841c867f86a (diff) | |
Script for DOS-to-UNIX file format conversion
Diffstat (limited to 'scripts')
| -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 |