problems running shell scripts
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'Elia@amsinc.com wrote:
> 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:
> 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
> /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
> and would like to write some shell scripts to do this...
> Want to unsubscribe from this list?
> Send a message to firstname.lastname@example.org
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
Want to unsubscribe from this list?
Send a message to email@example.com
More information about the Cygwin