This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: insensitive case problem in latest cygwin
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Jason Taylor <jasonmt at gmail dot com>
- Cc: cygwin at cygwin dot com
- Date: Mon, 14 Feb 2005 13:45:04 -0500 (EST)
- Subject: Re: insensitive case problem in latest cygwin
- References: <1f1e07530502141026214345d2@mail.gmail.com>
- Reply-to: cygwin at cygwin dot com
On Mon, 14 Feb 2005, Jason Taylor wrote:
> windows xp
> The current version of cygwin seems to ignore case in the filesystem.
> if you open a cygwin bash shell and type
>
> touch AAA
> mv AAA aaa
>
> it says that 'AAA' and 'aaa' are the same filename and doesn't change
> the filename.
That's the behavior I've gotten for as long as I can remember, which
prompted me to write this useful script:
------------------- BEGIN /usr/local/bin/mvv -------------------
#!/bin/sh
/bin/mv "${1%%/}" "${1%%/}-$$" && mv "${1%%/}-$$" "${2%%/}"
-------------------- END /usr/local/bin/mvv --------------------
> When I run cygwin setup and go back to the 'prev' version the mv
> command changes the name of the file like it has in previous versions.
Very strange. What version was the 'prev' version?
> Sorry I can't get version numbers right now but it's Valentine's day.
> - jason
Oh, and neither 'uname -a' nor 'cygcheck -svr' run on Valentine's day?
Why, that's just MEAN! :-)
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/