delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/04/07/15:03:57

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <20000407190300.3360.qmail@web124.yahoomail.com>
Date: Fri, 7 Apr 2000 12:03:00 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: earnie_boyd AT yahoo DOT com
Subject: Re: problems running shell scripts
To: Kevin_D'Elia AT amsinc DOT com, cygwin AT sourceware DOT cygnus DOT com
MIME-Version: 1.0

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 AT amsinc DOT 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 AT sourceware DOT cygnus DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019