New Bash Release Broken?

Tim Daneliuk tundra@tundraware.com
Thu Sep 28 19:15:00 GMT 2006


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/



More information about the Cygwin-xfree mailing list