rayzor

view util/fixcase @ 7:75bc89c2abc4

fixed the mouse handling problem
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 07 Apr 2014 08:05:06 +0300
parents c273c6f799a4
children 235c8b764c0b
line source
1 #!/bin/sh
3 src=`find \( -iname '*.c' -o -iname '*.cc' -o -iname '*.h' -o -iname '*.inl' \)`
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