From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28001 invoked by alias); 10 Jun 2002 14:41:09 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 27992 invoked from network); 10 Jun 2002 14:41:07 -0000 Received: from unknown (HELO reliant.immure.com) (24.242.135.78) by sources.redhat.com with SMTP; 10 Jun 2002 14:41:07 -0000 Received: (from wayne@localhost) by reliant.immure.com (8.11.6/8.11.6) id g5AEYt319229 for cygwin@cygwin.com; Mon, 10 Jun 2002 09:34:55 -0500 (CDT) (envelope-from wayne) Date: Mon, 10 Jun 2002 09:08:00 -0000 From: wayne To: cygwin@cygwin.com Subject: Re: running shell scripts Message-ID: <20020610093455.A19207@reliant.immure.com> Reply-To: Wayne Willcox References: <076e01c21059$1cfd6ee0$0200a8c0@weiss> <20020610134334.GC18671@chiba.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020610134334.GC18671@chiba.dyndns.org>; from mg@trash.net on Mon, Jun 10, 2002 at 03:43:34PM +0200 X-Operating-System: FreeBSD reliant.knighthammer.com 4.4-RELEASE FreeBSD 4.4-RELEASE X-SW-Source: 2002-06/txt/msg00530.txt.bz2 Or you could just do bash ./someprogram On Mon, Jun 10, 2002 at 03:43:34PM +0200, Mathias Gygax wrote: > On Mon, Jun 10, 2002 at 10:30:32AM +0200, Steven Weiss wrote: > > Hi > > hi there, > > > bash: ./work: No such file or directory > > > > I am trying to running a shell script from an interactive bash > > session. I get the following error when running the shell script. It > > seems to work when I put the #! /cygwin/bin/bash inside the script. > > Surely the script should run with the execute permissions set as they > > are. > > that's the way it works. the first shee-bang line topmost, is the > associated interpreter. it could be just anything, from a shell script > to awk program. > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ -- Slowly and surely the unix crept up on the Nintendo user ... Wayne Willcox I will not eat green eggs and ham wayne@reliant.immure.com I will not eat them Sam I Am!! A wise person makes his own decisions, a weak one obeys public opinion. -- Chinese proverb -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/