public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Problems with .exe files
@ 2003-10-16 13:02 Kris Thielemans
  2003-10-16 13:14 ` Kris Thielemans
  0 siblings, 1 reply; 2+ messages in thread
From: Kris Thielemans @ 2003-10-16 13:02 UTC (permalink / raw)
  To: ADeFaria; +Cc: Gnuwin


> Why would you think that you can cp t as just "t" but you'd have to touch
"t.exe"?
> The real name of the file is t.exe, for touch, cp, rm, etc. The only time
that just
> "t" suffices is for exec.

Because it used to work on older cygwin. I suspect exactly to get Makefile
and other automated processes tow rok, and I quite like it.

For example on an older cygwin (1.3.22-1)

touch t.exe
cp t a
ls a   -> says a exists
ls a*  -> says a.exe exists


Kris Thielemans
(kris.thielemans <at> imperial.ac.uk)
Hammersmith Imanet (formerly IRSL)
Cyclotron Building
Hammersmith Hospital
Du Cane Road
London W12 ONN, United Kingdom

web site address: http://www.hammersmithimanet.com/~kris


--
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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: Re: Problems with .exe files
  2003-10-16 13:02 Problems with .exe files Kris Thielemans
@ 2003-10-16 13:14 ` Kris Thielemans
  0 siblings, 0 replies; 2+ messages in thread
From: Kris Thielemans @ 2003-10-16 13:14 UTC (permalink / raw)
  To: Kris Thielemans, ADeFaria; +Cc: Gnuwin


oops. that went off too fast. ignore previous email. sorry

Hi Andrew

> Why would you think that you can cp t as just "t" but you'd 
> have to touch "t.exe"? 
> The real name of the file is t.exe, for touch, cp, rm, etc. The 
> only time that just "t" suffices is for exec.
> 
Because it used to work on older cygwin. I suspect exactly to get 
Makefile and other automated processes tow rok, and I quite like it.
 
For example on an older cygwin (1.3.22-1)

 touch t.exe
 cp t a
 ls a   -> says a exists
 ls a*  -> says a.exe exists
 

However, I now notice that 

 rm t

doesn't work on that version as well, so that's not new behaviour.


Kris

--
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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-16 12:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-16 13:02 Problems with .exe files Kris Thielemans
2003-10-16 13:14 ` Kris Thielemans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).