bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash-3.2 parse error


From: Greg Schafer
Subject: bash-3.2 parse error
Date: Thu, 12 Oct 2006 18:49:40 +1000
User-agent: Mutt/1.4.2.1i

Hi

ncurses-5.5 fails to build with bash-3.2 installed as sh. Here's the
distilled testcase:


cat > testcase << "EOF"
TABSIZE=`grep -v '^[ #]' $CAPS | grep -v "^$" | grep -v "^capalias"| grep -v 
"^infoalias" | wc -l`
EOF

$ bash -n testcase
testcase: line 1: unexpected EOF while looking for matching ``'
testcase: line 2: syntax error: unexpected end of file


It appears to be the `#' character in between the single quotes giving the
grief. That line works with every bash version prior to 3.2. Thoughts?

Thanks
Greg




reply via email to

[Prev in Thread] Current Thread [Next in Thread]