Thank you for fixing the probrem. The sample script worked fine, and the original script doesn't produce any errors.
I'l ejnoy the performance improvement. ) -----Original Message----- ) From: [EMAIL PROTECTED] ) [mailto:[EMAIL PROTECTED] On Behalf Of Eric Blake ) Sent: Thursday, September 14, 2006 8:06 PM ) To: cygwin@cygwin.com ) Subject: [ANNOUNCEMENT] Updated [experimental]: bash-3.1-8 ) ) -----BEGIN PGP SIGNED MESSAGE----- ) Hash: SHA1 ) ) A new release of bash, 3.1-8, is available for experimental use. ) ) NEWS: ) ===== ) This version is similar to the experimental 3.1-7, except ) that it fixes the regression of scripts with \r\n line ) endings on text mounts. By removing several outdated #ifdefs ) that were once necessary in bash for older versions of ) cygwin, bash is now faster and more like Linux when operating ) on binary mounts. In particular, if your script uses \n line ) endings, bash will read a buffer at a time instead of a byte ) a time, for much less disk traffic. A script on a binary ) mount that uses \r\n line endings will probably encounter ) syntax errors or odd variable assignments, because the \r is ) treated literally. If this happens to you, use d2u to fix ) the line endings, or change your script to live in a text mount point. ) A script that resides on a text mount can have either line ) ending (even inconsistently mixed), but be aware that text ) mount points are slower, due to \r\n filtering. Because of ) this change in behavior from the current ) 3.1-6 for scripts in binary mounts, 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. ) ) 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. ) ) DESCRIPTION: ) ============ ) 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. ) ) UPDATE: ) ======= ) 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). Since this is an experimental release, you will ) have to use the 'Exp' radio button. ) ) DOWNLOAD: ) ========= ) 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: ) http://cygwin.com/mirrors.html ) ) QUESTIONS: ) ========== ) 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 ) ) CYGWIN-ANNOUNCE UNSUBSCRIBE INFO: ) ================================= ) 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: ) ) [EMAIL PROTECTED] ) ) If you need more information on unsubscribing, start reading here: ) ) http://sources.redhat.com/lists.html#unsubscribe-simple ) ) Please read *all* of the information on unsubscribing that is ) available starting at this URL. ) ) -----BEGIN PGP SIGNATURE----- ) 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 ) ) iD8DBQFFCTd784KuGfSFAYARAg73AJ9kx3F0KZMMMVf2Mswap9EdbbQhwACfQ04W ) mpXuv1i2LBxilPEJt5NmTts= ) =D66q ) -----END PGP SIGNATURE----- ) ) -- ) 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/ ) ) -- 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/