This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fw: problem with ls and similar commands in tcsh


On Sat, 19 Oct 2002, Christopher Faylor wrote:

> On Sat, Oct 19, 2002 at 04:30:45PM -0400, Igor Pechtchanski wrote:
> >> my CYGWIN variable is not set to anything. i noticed some bug reports
> >> related to this on the website. they say i should set $CYGWIN to
> >>     check_case:strict
> >
> >Actually, you probably want to use "check_case:relaxed", or,
> >"check_case:adjust", to mimic Windows behavior.
>
> I wouldn't recommend it.  It wouldn't help in this case and it really
> just adds extra processing for minimal effect.
> cgf

Oops, you're right -- tcsh doesn't use this value when expanding globs...
In fact, as far as I could see, there is no way to make tcsh expand globs
in a case-insensitive manner.  However, it would help if one tried to open
a file with the wrong case filename...

Mike,
Does the glob expansion function of tcsh (^X-*) work?  What *are* the
exact filenames (as returned by 'ls' in bash)?  Windows often renders
all-uppercase filenames as lowercase in Explorer, maybe this is the issue?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]