This is the mail archive of the
mailing list for the Cygwin project.
Bash 3.1.9 and 3.2.4: igncr setting not effective for 'source'd files
- From: "David Picton" <djpicton at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 31 Oct 2006 20:12:02 +0000
- Subject: Bash 3.1.9 and 3.2.4: igncr setting not effective for 'source'd files
Unfortunately I have to report that both versions of bash don't
implement the igncr setting if
commands are read from a sourced file.
For example, I have /etc/profile set up to issue
shopt -s igncr #
as the first line (or
set -o igncr; export SHELLOPTS #
for version 3.2.4)
If I do
produces a series of error messages, indicating that <cr> characters
are not being
If I issue the file as a script, e.g.
there are no errors.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html