public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Ray Pimm <r.pimm@uq.net.au>
To: cygwin@cygwin.com
Subject: Bash local builtin and redirection problems
Date: Sat, 21 Sep 2002 18:04:00 -0000	[thread overview]
Message-ID: <5.0.2.1.0.20020922103312.00a6a850@fox.uq.net.au> (raw)

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/

             reply	other threads:[~2002-09-22  0:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-21 18:04 Ray Pimm [this message]
2002-09-21 19:43 ` Randall R Schulz
2002-09-21 19:44 ` Michael A Chase
2002-09-23  4:20 Ray Pimm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5.0.2.1.0.20020922103312.00a6a850@fox.uq.net.au \
    --to=r.pimm@uq.net.au \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).