* Re: problems running shell scripts
@ 2000-04-07 12:03 Earnie Boyd
0 siblings, 0 replies; 2+ messages in thread
From: Earnie Boyd @ 2000-04-07 12:03 UTC (permalink / raw)
To: Kevin_D'Elia, cygwin
Is it possible that you've set your mounts for binary mode processing and your
script files have \r\n line endings?
Earnie.
--- Kevin_D'Elia@amsinc.com wrote:
>
>
> Hello,
>
> I am trying to run some shell scripts under bash and all that happens is
> that the shell scripts take a very long time to execute; when they finally
> complete, all that shows up on stdout is the message "bash: <script_name> not
> found"; both bash and the scripts are in the $PATH. Has anyone else had this
> problem? I have tried putting sh.exe in /bin but that doesn't work,
> I should mention that, for other purposes, I have had to alter the
> directory structure which is created during the Cygwin install so that it
> reflects a more Un*x-like layout. Specifically, I have the following:
> c:\usr\local\bin
> c:\usr\local\etc
> c:\usr\local\lib
> c:\usr\local\libexec
> c:\usr\local\man
> c:\usr\local\share
>
> I have no problems with any other programs, diff, ls, all seem to work just
> fine; only shell scripts won't run. I have changed the magic number to point
> to
> /usr/local/bin instead of /bin, but that didn't help either.
>
> Any help at all would be greatly appreciated, since I need to update some
> files
> and would like to write some shell scripts to do this...
>
>
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>
>
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* problems running shell scripts
@ 2000-04-07 8:00 Kevin_D'Elia
0 siblings, 0 replies; 2+ messages in thread
From: Kevin_D'Elia @ 2000-04-07 8:00 UTC (permalink / raw)
To: cygwin
Hello,
I am trying to run some shell scripts under bash and all that happens is
that the shell scripts take a very long time to execute; when they finally
complete, all that shows up on stdout is the message "bash: <script_name> not
found"; both bash and the scripts are in the $PATH. Has anyone else had this
problem? I have tried putting sh.exe in /bin but that doesn't work,
I should mention that, for other purposes, I have had to alter the
directory structure which is created during the Cygwin install so that it
reflects a more Un*x-like layout. Specifically, I have the following:
c:\usr\local\bin
c:\usr\local\etc
c:\usr\local\lib
c:\usr\local\libexec
c:\usr\local\man
c:\usr\local\share
I have no problems with any other programs, diff, ls, all seem to work just
fine; only shell scripts won't run. I have changed the magic number to point to
/usr/local/bin instead of /bin, but that didn't help either.
Any help at all would be greatly appreciated, since I need to update some files
and would like to write some shell scripts to do this...
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-04-07 12:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-07 12:03 problems running shell scripts Earnie Boyd
-- strict thread matches above, loose matches on Subject: below --
2000-04-07 8:00 Kevin_D'Elia
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).