Bash local builtin and redirection problems

2002-09-23 Thread Ray Pimm
Thanks Randall and Michael #!/bin/bash instead of #!/bin/sh did the trick! Ray, Were I to guess why local and the I/O redirection syntax _appear_ to be missing when your script executes, I'd guess that it's because the script(s) in question begins with this: #!/bin/sh Under Cygwin, /bin/sh

Bash local builtin and redirection problems

2002-09-21 Thread Ray Pimm
I have successfully installed Cygwin on Windows 2000 SP3. However, when I attempt to run a bash shell script that works fine under Linux, two problems occur. 1. The bash local builtin does not seem to work. Error message is local: not found. 2. Both shorthand formats file and file for

Re: Bash local builtin and redirection problems

2002-09-21 Thread Randall R Schulz
Ray, Were I to guess why local and the I/O redirection syntax _appear_ to be missing when your script executes, I'd guess that it's because the script(s) in question begins with this: #!/bin/sh Under Cygwin, /bin/sh is Ash, not BASH. Randall Schulz Mountain View, CA USA At 18:00

Re: Bash local builtin and redirection problems

2002-09-21 Thread Michael A Chase
On Sun, 22 Sep 2002 11:00:14 +1000 Ray Pimm [EMAIL PROTECTED] wrote: I have successfully installed Cygwin on Windows 2000 SP3. However, when I attempt to run a bash shell script that works fine under Linux, two problems occur. 1. The bash local builtin does not seem to work. Error