* Re: Shell scripts called *.exe
[not found] <8D861ADC5B8FD211B4100008C71EA7DA536FD6@KJSDEMUCSHREXC1>
@ 1999-04-26 4:07 ` R. Hickling
1999-04-30 18:32 ` R. Hickling
0 siblings, 1 reply; 6+ messages in thread
From: R. Hickling @ 1999-04-26 4:07 UTC (permalink / raw)
To: Demmer, Thomas, cygwin
> mv something.exe mv something.
I guess you mean 'mv something.exe something.'
Yes this works and it forgets the '.' nicely.
> I encountered so far only problems with
> mv Foo foo
Hmmm. 'mv Foo foo' works fine for me ...
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Shell scripts called *.exe
1999-04-26 4:07 ` Shell scripts called *.exe R. Hickling
@ 1999-04-30 18:32 ` R. Hickling
0 siblings, 0 replies; 6+ messages in thread
From: R. Hickling @ 1999-04-30 18:32 UTC (permalink / raw)
To: Demmer, Thomas, cygwin
> mv something.exe mv something.
I guess you mean 'mv something.exe something.'
Yes this works and it forgets the '.' nicely.
> I encountered so far only problems with
> mv Foo foo
Hmmm. 'mv Foo foo' works fine for me ...
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Shell scripts called *.exe
1999-04-26 3:06 ` R. Hickling
@ 1999-04-30 18:32 ` R. Hickling
0 siblings, 0 replies; 6+ messages in thread
From: R. Hickling @ 1999-04-30 18:32 UTC (permalink / raw)
To: Demmer, Thomas; +Cc: cygwin
The solution is quite simply to remove the '.exe' - but you can't go
mv something.exe something
because it says
mv: `something.exe' and `something' are the same file
(so it's 'mv something.exe something_else; mv something_else something')
Yes - parts of MS is braindead. Not it's marketing department though.
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Shell scripts called *.exe
1999-04-26 1:47 R. Hickling
@ 1999-04-30 18:32 ` R. Hickling
0 siblings, 0 replies; 6+ messages in thread
From: R. Hickling @ 1999-04-30 18:32 UTC (permalink / raw)
To: cygwin
It seems if you have a shell script - ie with "#!/bin/sh" as the first
line, and call the script 'something.exe', and execute it with
'./something', it will crash your bash.
Just try
echo '#!/bin/sh' > something.exe; ./something
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Shell scripts called *.exe
[not found] <8D861ADC5B8FD211B4100008C71EA7DA536FD5@KJSDEMUCSHREXC1>
@ 1999-04-26 3:06 ` R. Hickling
1999-04-30 18:32 ` R. Hickling
0 siblings, 1 reply; 6+ messages in thread
From: R. Hickling @ 1999-04-26 3:06 UTC (permalink / raw)
To: Demmer, Thomas; +Cc: cygwin
The solution is quite simply to remove the '.exe' - but you can't go
mv something.exe something
because it says
mv: `something.exe' and `something' are the same file
(so it's 'mv something.exe something_else; mv something_else something')
Yes - parts of MS is braindead. Not it's marketing department though.
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Shell scripts called *.exe
@ 1999-04-26 1:47 R. Hickling
1999-04-30 18:32 ` R. Hickling
0 siblings, 1 reply; 6+ messages in thread
From: R. Hickling @ 1999-04-26 1:47 UTC (permalink / raw)
To: cygwin
It seems if you have a shell script - ie with "#!/bin/sh" as the first
line, and call the script 'something.exe', and execute it with
'./something', it will crash your bash.
Just try
echo '#!/bin/sh' > something.exe; ./something
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1999-04-30 18:32 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <8D861ADC5B8FD211B4100008C71EA7DA536FD6@KJSDEMUCSHREXC1>
1999-04-26 4:07 ` Shell scripts called *.exe R. Hickling
1999-04-30 18:32 ` R. Hickling
[not found] <8D861ADC5B8FD211B4100008C71EA7DA536FD5@KJSDEMUCSHREXC1>
1999-04-26 3:06 ` R. Hickling
1999-04-30 18:32 ` R. Hickling
1999-04-26 1:47 R. Hickling
1999-04-30 18:32 ` R. Hickling
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).