Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <5.0.2.1.0.20020922103312.00a6a850@fox.uq.net.au> X-Sender: zzrpimm AT fox DOT uq DOT net DOT au Date: Sun, 22 Sep 2002 11:00:14 +1000 To: cygwin AT cygwin DOT com From: Ray Pimm Subject: Bash local builtin and redirection problems Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 redirecting standard output and standard error do not work. However, the longhand equivalent ">file 2>&1" does work. Strangely, both of the above features work from the bash command line (but not from a shell script). Cygwin version is 1.3.12-4. Bash version is 2.05b-5. An earlier version 2.05a-3 also fails. Ray -- 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/