deepstone

annotate src/fixcase @ 35:1870c4ef8b76

added visual studio project moved the dosemu directory
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 23 Sep 2013 07:41:05 +0300
parents
children
rev   line source
nuclear@33 1 #!/bin/sh
nuclear@33 2
nuclear@33 3 # when I ftp files over from the dos machine, everything becomes uppercase...
nuclear@33 4 # just run this in the source dir to fix them all
nuclear@33 5
nuclear@33 6 for i in *.C *.H; do
nuclear@33 7 fixedname="`echo $i | tr '[:upper:]' '[:lower:]'`"
nuclear@33 8 echo "$i -> $fixedname"
nuclear@33 9 mv "$i" "$fixedname"
nuclear@33 10 done