[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Avoid false word splitting on RHS of 'local var='
From: |
Patrice Dumas |
Subject: |
Re: Avoid false word splitting on RHS of 'local var=' |
Date: |
Tue, 28 Sep 2010 00:28:21 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Mon, Sep 27, 2010 at 10:09:27PM +0000, Karl Berry wrote:
> dash word-splits the right hand side of a 'local' variable assignment,
>
> @sigh
> This constant catering to suboptimal shells (and systems), used only
> because of arbitrary decisions by non-supporters of GNU, sure wastes a
> lot of time that could be spent doing useful things.
> @end sigh
There is an easy way to be sure that bash is used and not /bin/sh, by
changing the texi2dvi shebang. Otherwise it is quite fair, in my opinion,
to assume that the script will run fine on any POSIX conformant shell
including strictly POSIX conformant (suboptimal) shells.
--
Pat