problems running shell scripts

Earnie Boyd
Fri Apr 7 12:03:00 GMT 2000

Is it possible that you've set your mounts for binary mode processing and your
script files have \r\n line endings?


--- Kevin_D' 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

Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.

Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list