Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: case-insensitive globbing



James Devenish wrote:
> Also, what about the following phenomenon (which is not usual amongst
> shells) -- is it the same under Cygwin?
> 
> % mkdir blah
> % cp -p =date blah/DATE
> % export PATH=$PWD/blah:$PATH
> % ls /tmp/blah
> DATE
> % rehash
> % where date
> /tmp/blah/date
> /bin/date
> 
> (not /tmp/blah/DATE) In this case, /tmp is on an HFS volume. Of course,
> it might be different if /tmp/blah were on a UFS volume. Might be
> awkward to calculate all this.

I don't quite understand what you think is wrong.  If /tmp/blah is on an
FS with case-insensitive file handling, as you seem to be implying (I
know nothing about HFS), isn't this the correct behaviour?

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



Messages sorted by: Reverse Date, Date, Thread, Author