Source-Changes-D archive

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

Re: CVS commit: src/distrib/sets



> It is posix compliant, but falls foul of a common shell bug.
> 
> http://www.gnu.org/software/hello/manual/autoconf/Shell-Substitutions.html
> 
> Avoid commands that contain unbalanced parentheses in here-documents,
> comments, or case statement patterns, as many shells mishandle them.
> For example, Bash 3.1, ksh88, pdksh 5.2.14, and Zsh 4.2.6 all
> mishandle the following valid command: 
> 
>       echo $(case x in x) echo hello;; esac)

Thanks.  I've never known this.

I wonder why we don't have ${TOOL_SH}.

Masao

-- 
Masao Uebayashi / Tombi Inc. / Tel: +81-90-9141-4635


Home | Main Index | Thread Index | Old Index