This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
New Bash Release Broken?
- From: Tim Daneliuk <tundra at tundraware dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Thu, 28 Sep 2006 14:15:41 -0500
- Subject: New Bash Release Broken?
- Reply-to: tundra at tundraware dot com
- Reply-to: cygwin-xfree at cygwin dot com
It is my habit to update the entire cygwin installation at least once a week.
Earlier today, I updated and got the new version of bash, 3.1.17(8).
It appears broken. The .profile I have happily used for years gives it
fits (the same .profile works fine if I invoke ksh instead of bash) and
other shell scripts that used to work, no longer do. The shell typically
produces errors like:
: invalid option name
': not a valid identifier
: command not found
: command not found
: command not found
: command not found
: command not found
-bash: /cygdrive/c/usr/home/tundra/.profile: line 15: syntax error near unexpect'd token `{
'bash: /cygdrive/c/usr/home/tundra/.profile: line 15: `{
In this case, the "script" was .profile and the first 15 lines look
like this:
set -o ignoreeof
export ignoreeof
export EDITOR=emacs
export MACHINE=`uname -n`
export PAGER=less
export TZ=CST6CDT
TERM=vt100
# Function definitions
function PyD
{
cd $HOME/Dev/python/$1
}
Ideas anyone? Is there a change to bash syntax and I just didn't get
the memo?
--
----------------------------------------------------------------------------
Tim Daneliuk tundra@tundraware.com
PGP Key: http://www.tundraware.com/PGP/
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/