bug-bash
[Top][All Lists]
Advanced

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

Re: bash-3.2 parse error


From: Chet Ramey
Subject: Re: bash-3.2 parse error
Date: Thu, 12 Oct 2006 09:58:20 -0400
User-agent: Thunderbird 1.5.0.7 (Macintosh/20060909)

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: 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?

I'll look into it.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/




reply via email to

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