This is the mail archive of the
mailing list for the Cygwin project.
Re: running shell scripts
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
email@example.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