thrust/internal/scripts/tounix
raw| 1 | #!/bin/bash |
| 2 | |
| 3 | # converts all files in the current directory with extensions .h .inl or .cu to unix format |
| 4 | |
| 5 | #find . -type f \( -name "*.h" -o -name "*.inl" -o -name "*.cu" \) -a \( -not -wholename "*\.hg/*" \) -print |
| 6 | find . -type f \( -name "*.h" -o -name "*.inl" -o -name "*.cu" \) -a \( -not -wholename "*\.hg/*" \) -exec fromdos -d {} \; |