[ANNOUNCEMENT] Updated [experimental]: bash-3.1-7

Eric Blake ebb9@byu.net
Sat Sep 9 03:22:00 GMT 2006

Hash: SHA1

A new release of bash, 3.1-7, is available for experimental use.

This version removes several outdated #defines that were once necessary in
older versions of cygwin, but which made bash on cygwin different and
slower than bash on Linux.  In the process, there is a major change in
behavior - bash no longer forces text mode when reading scripts.  If your
script resides on a text mount point, you will not notice any difference.
  If your script resides on a binary mount point, and has normal unix \n
line endings, you may notice a slight speedup.  But if your script resides
on a binary mount point, and has \r\n line endings, bash will most likely
encounter syntax errors.  The fix is simple - use d2u to convert script
files residing on a binary mount point to be unix files, or if you must
use DOS lines, use a text mount point.  Because of this change in
behavior, I am marking this version experimental for a while until I can
gauge from mailing list traffic that it is safe to promote to current.

This is a minor patch release.  The only change is removing outdated
cygwin-specific #ifdefs that are no longer necessary in light of
improvements in cygwin itself.  Remember, you must not have any bash or
/bin/sh instances running when you upgrade the bash package.  This release
will work with cygwin-1.5.21-1 or later.

Bash is an sh-compatible shell that incorporates useful features from the
Korn shell (ksh) and C shell (csh).  It is intended to conform to the IEEE
POSIX P1003.2/ISO 9945.2 Shell and Tools standard.  It offers functional
improvements over sh for both programming and interactive use. In
addition, most sh scripts can be run by Bash without modification.

As of the bash 3.0 series, cygwin /bin/sh defaults to bash, not ash,
similar to Linux distributions.

To update your installation, click on the "Install Cygwin now" link on the
http://cygwin.com/ web page.  This downloads setup.exe to your system.
Save it and run setup, answer the questions and pick up 'bash' in the
'Base' category (it should already be selected).

Note that downloads from sources.redhat.com (aka cygwin.com) aren't
allowed due to bandwidth limitations.  This means that you will need to
find a mirror which has this update, please choose the one nearest to you:

If you want to make a point or ask a question the Cygwin mailing list is
the appropriate place.

- --
Eric Blake
volunteer cygwin bash maintainer

To unsubscribe to the cygwin-announce mailing list, look at the
"List-Unsubscribe: " tag in the email header of this message.  Send email
to the address specified there.  It will be in the format:


If you need more information on unsubscribing, start reading here:


Please read *all* of the information on unsubscribing that is available
starting at this URL.

Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

More information about the Cygwin mailing list