rayzor
annotate util/fixcase @ 14:a9a948809c6f
starting the renderer screen, plus misc stuff
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 13 Apr 2014 08:06:21 +0300 |
parents | 18bdbcbaee81 |
children |
rev | line source |
---|---|
nuclear@2 | 1 #!/bin/sh |
nuclear@2 | 2 |
nuclear@10 | 3 src=`find \( -iname '*.c' -o -iname '*.cc' -o -iname '*.h' -o -iname '*.inl' -o -iname '*.asm' \)` |
nuclear@4 | 4 for i in $src util/*; do |
nuclear@2 | 5 if echo $i | grep '[A-Z]' >/dev/null; then |
nuclear@2 | 6 fixed=`echo $i | tr '[:upper:]' '[:lower:]'` |
nuclear@2 | 7 echo "\"$i\" -> \"$fixed\"" |
nuclear@2 | 8 mv "$i" "$fixed" |
nuclear@2 | 9 fi |
nuclear@2 | 10 done |