Subject: Re: [uwin-users] strange 'ksh' behavior WRT file extension and 'mv'
--------

> Hello,
> 
> while running 'ksh' under Win2k I needed to "hide" /lib/cpp.
> 
> When I did
> 
> mv /lib/cpp /lib/cpp.hidden
> 
> , it worked, but essentially this is wrong - that's because the source
> file actually was
> 
> /lib/cpp.exe
> 
> , not /lib/cpp .
> 
> Thanks,
>   Sergei.
> 

This is intentional behavior.  The .exe is a windows artifact (only
really necessary for windows 95, 98, me) that is not relevant for
unix users.

If you refer to foo and foo does not exist but foo.exe exists,
uwin maps this to foo.exe.  Every UNIX name is mapped into a
win32 name and this is part of the rules of the mapping function.

David Korn
[email protected]
_______________________________________________
uwin-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/uwin-users

Reply via email to