This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
OT pondering (WAS: Re: Trailing Periods on File Names)
- Subject: OT pondering (WAS: Re: Trailing Periods on File Names)
- From: Jonathon Merz <jmerz42 at earthlink dot net>
- Date: Thu, 05 Apr 2001 14:02:55 -0500
- CC: cygwin at cygwin dot com
- References: <4.3.1.2.20010405144831.021f9008@pop.ma.ultranet.com>
- Reply-To: jmerz42 at earthlink dot net
Larry Hall (RFK Partners, Inc) wrote:
> At 02:38 PM 4/5/2001, Randall R Schulz wrote:
>
>> Hi,
>>
>> I just discovered some odd behavior.
>>
>> Witness:
>>
>> % mkdir dir
>> % cd dir
>> % ls -l
>> total 0
>> % echo "I like Cygwin" >|File
>> % ls -l
>> total 0
>> -rw-r--r-- 1 randall None 15 Apr 5 11:31 File
>> %
>> % ls -l File.
>> -rw-r--r-- 1 randall None 15 Apr 5 11:31 File.
>> %
>
>
> <snip>
>
>
>
>> Curious, no? Perhaps this is a side-effect of the potential aliasing of suffix-less names and the same name with a ".exe" suffix?
>
>
>
> No, this is Windows madness. It ignores periods at the end of file names.
>
I agree with that, having seen this before, but I am curious... It seems that
such functionality did not get there by accident (I cannot think of a way to
ignore characters in a filename without some _extra_ coding), so it must have
been done for some purpose. Yet I cannot for the life of me imagine what
benefit this produces, or what fault it would circumvent. Anyone have ideas
as to this?
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple