From: stanton AT haas DOT berkeley DOT edu (Richard Stanton) Subject: Re: How to avoid GNU make case sensitivity? 16 Aug 1997 11:04:15 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <199708151739.KAA11732.cygnus.gnu-win32@haas.berkeley.edu> Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII Original-To: sos AT prospect DOT com DOT ru Original-CC: gnu-win32 AT cygnus DOT com In-reply-to: <01BCA982.087C55A0@gater.krystalbank.msk.ru> (message from Sergey Okhapkin on Fri, 15 Aug 1997 13: 49:17 +0400) Original-Sender: owner-gnu-win32 AT cygnus DOT com Sergey> #!/bin/sh Sergey> for i in *; do Sergey> new=`echo $i|tr [A-Z] [a-z]`; Sergey> mv $i $new Sergey> done Or, using 4NT, in the topmost directory, where I want to "downcase" everything in that directory or below: for /R . %%f in (*) lower %f where the batch file lower.cmd contains the line ren %1 %@lower[%1] a. This could all be done in one line. b. I don't know if I need the double %%, but it doesn't hurt. Richard Stanton - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".