This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: problems running shell scripts
- To: Kevin_D'Elia at amsinc dot com, cygwin at sourceware dot cygnus dot com
- Subject: Re: problems running shell scripts
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Fri, 7 Apr 2000 12:03:00 -0700 (PDT)
- Reply-To: earnie_boyd at yahoo dot com
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