deepstone

view src/fixcase @ 34:c6406e4aa0fb

better input, fixed emulated code to work again
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 23 Sep 2013 05:58:24 +0300
parents
children
line source
1 #!/bin/sh
3 # when I ftp files over from the dos machine, everything becomes uppercase...
4 # just run this in the source dir to fix them all
6 for i in *.C *.H; do
7 fixedname="`echo $i | tr '[:upper:]' '[:lower:]'`"
8 echo "$i -> $fixedname"
9 mv "$i" "$fixedname"
10 done