rayzor

view util/fixcase @ 22:5380ff64e83f

minor changes from dos, and line endings cleanup
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 02 May 2014 14:32:58 +0300
parents 18bdbcbaee81
children
line source
1 #!/bin/sh
3 src=`find \( -iname '*.c' -o -iname '*.cc' -o -iname '*.h' -o -iname '*.inl' -o -iname '*.asm' \)`
4 for i in $src util/*; do
5 if echo $i | grep '[A-Z]' >/dev/null; then
6 fixed=`echo $i | tr '[:upper:]' '[:lower:]'`
7 echo "\"$i\" -> \"$fixed\""
8 mv "$i" "$fixed"
9 fi
10 done