bug-bison
[Top][All Lists]
Advanced

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

Re: Bash vs. sh


From: Joel E. Denny
Subject: Re: Bash vs. sh
Date: Fri, 4 Apr 2008 00:52:57 -0400 (EDT)

On Wed, 26 Mar 2008, Paul Hilfinger wrote:

> The bootstrap file is headed
> 
>     #! /bin/sh
> 
> However, it contains lines such as 
> 
>      if ! "$SHA1SUM" -c --status "$cksum_file" < "$new_po" >  /dev/null; then
> 
> and 
> 
>      if ! test -d "$dst_dir"; then
> 
> In a standard Solaris 10 installation, /bin/sh does not recognize the
> '!' command.  I had to fix this by changing the shell used by
> bootstrap to /bin/bash.

Thanks for the report.  I don't know whether Bison should switch to 
/bin/bash or just weed out Bash-specific code.  This feels like a question 
for Paul Eggert.




reply via email to

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