Re: Help running bash scripts

2006-11-30 Thread Larry Hall (Cygwin)
Amar wrote: Dave Korn artimi.com> writes: On 22 November 2006 05:24, David Christensen wrote: Thierry wrote: running a simple sh script(test.sh): #!/bin/sh # test $ ./test.sh command not found Get this book: http://www.oreilly.com/catalog/bash3/index.html "test" is a Bash built-in

Re: Help running bash scripts

2006-11-30 Thread Amar
Dave Korn artimi.com> writes: > > On 22 November 2006 05:24, David Christensen wrote: > > > Thierry wrote: > >> running a simple sh script(test.sh): > >> #!/bin/sh > >> # test > > > >> $ ./test.sh > >>> command not found > > > > Get this book: > > > > http://www.oreilly.com/catalog/bash3

RE: Help running bash scripts

2006-11-22 Thread Dave Korn
On 22 November 2006 05:24, David Christensen wrote: > Thierry wrote: >> running a simple sh script(test.sh): >> #!/bin/sh >> # test > >> $ ./test.sh >>> command not found > > Get this book: > > http://www.oreilly.com/catalog/bash3/index.html > > > "test" is a Bash built-in command ("man b

RE: Help running bash scripts

2006-11-21 Thread David Christensen
Thierry wrote: > running a simple sh script(test.sh): > #!/bin/sh > # test > $ ./test.sh > : command not found Get this book: http://www.oreilly.com/catalog/bash3/index.html "test" is a Bash built-in command ("man bash"; see CONDITIONAL EXPRESSIONS). Avoid using that keyword in Bash scrip

Re: Help running bash scripts

2006-11-21 Thread Andrew DeFaria
Thierry wrote: I have installed cygwin on Windows XP along with the bash shell options but I'mhaving a problem running a simple sh script(test.sh): #!/bin/sh # test If I run the above script under cygwin, I get the following error message: $ ./test.sh : command not found Can anyone help m