deepstone
diff src/fixcase @ 33:03a0b307706a
added proper keyboard handling
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 23 Sep 2013 04:34:43 +0300 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/fixcase Mon Sep 23 04:34:43 2013 +0300 1.3 @@ -0,0 +1,10 @@ 1.4 +#!/bin/sh 1.5 + 1.6 +# when I ftp files over from the dos machine, everything becomes uppercase... 1.7 +# just run this in the source dir to fix them all 1.8 + 1.9 +for i in *.C *.H; do 1.10 + fixedname="`echo $i | tr '[:upper:]' '[:lower:]'`" 1.11 + echo "$i -> $fixedname" 1.12 + mv "$i" "$fixedname" 1.13 +done