[VAR] Use setvareq to set OPTIND initially

2014-10-07 Thread Herbert Xu
commit f20dcdd0948d7ebb7d462a0288ea218468ad4f6c Author: Herbert Xu herb...@gondor.apana.org.au Date: Tue Oct 7 22:24:42 2014 +0800 [VAR] Use setvareq to set OPTIND initially There is no need to setvarint to set the initial value of OPTIND of one. This patch switchs to setvareq

Re: Failure of nested substring processing inside double-quotes

2014-10-07 Thread Herbert Xu
On Mon, Oct 06, 2014 at 08:03:13PM +, Paul Smith wrote: Hi all. I recently found a bug in dash's handling of substring processing, when the variable is contained within quotes. In bash, this works: bash$ echo $PWD /home/psmith bash$ echo ${PWD%${PWD##*/}}. /home/.

Re: Failure of nested substring processing inside double-quotes

2014-10-07 Thread Paul Smith
On Wed, 2014-10-08 at 10:28 +0800, Herbert Xu wrote: This is already fixed in the current git tree, by the commit: Thanks Herbert! I should have checked Git. I did check Debian and the current dash in stable and sid all still have this issue. The version in experimental, however,