Re: bash-3.2 parse error

2006-10-12 Thread Chet Ramey
Greg Schafer wrote: > 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:

bash-3.2 parse error

2006-10-12 Thread Greg Schafer
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 match