Re: svn commit: r207206 - head/bin/sh

2010-04-28 Thread Garrett Cooper
On Wed, Apr 28, 2010 at 10:40 AM, Doug Barton wrote: > On 04/28/10 08:36, Ed Maste wrote: >> While we're on this topic, I'll mention the bashism I'd like to see >> support for > > ... and I'd like to cast a vote for NOT bloating our sh with features > from more advanced shells. Either we should ac

Re: svn commit: r207206 - head/bin/sh

2010-04-28 Thread Doug Barton
On 04/28/10 08:36, Ed Maste wrote: > While we're on this topic, I'll mention the bashism I'd like to see > support for ... and I'd like to cast a vote for NOT bloating our sh with features from more advanced shells. Either we should actually import one of the more advanced shells (and no, I don't

Re: svn commit: r207206 - head/bin/sh

2010-04-28 Thread Andriy Gapon
on 28/04/2010 18:36 Ed Maste said the following: > On Tue, Apr 27, 2010 at 07:52:25AM +0400, Andrey Chernov wrote: > >> Just wonder, do you have plans to implement ${!variable} sometimes? >> This bashism is very useful: > ... > > While we're on this topic, I'll mention the bashism I'd like to see

Re: svn commit: r207206 - head/bin/sh

2010-04-28 Thread Ed Maste
On Tue, Apr 27, 2010 at 07:52:25AM +0400, Andrey Chernov wrote: > Just wonder, do you have plans to implement ${!variable} sometimes? > This bashism is very useful: ... While we're on this topic, I'll mention the bashism I'd like to see support for -- array variables. Older versions supported on

Re: svn commit: r207206 - head/bin/sh

2010-04-27 Thread Jilles Tjoelker
On Tue, Apr 27, 2010 at 07:52:25AM +0400, Andrey Chernov wrote: > On Sun, Apr 25, 2010 at 08:43:19PM +, Jilles Tjoelker wrote: > > Author: jilles > > Date: Sun Apr 25 20:43:19 2010 > > New Revision: 207206 > > URL: http://svn.freebsd.org/changeset/base/207206 > > > > Log: > > sh: Use stalloc

Re: svn commit: r207206 - head/bin/sh

2010-04-26 Thread Andrey Chernov
On Sun, Apr 25, 2010 at 08:43:19PM +, Jilles Tjoelker wrote: > Author: jilles > Date: Sun Apr 25 20:43:19 2010 > New Revision: 207206 > URL: http://svn.freebsd.org/changeset/base/207206 > > Log: > sh: Use stalloc for arith variable names. > > This is simpler than the custom memory track

svn commit: r207206 - head/bin/sh

2010-04-25 Thread Jilles Tjoelker
Author: jilles Date: Sun Apr 25 20:43:19 2010 New Revision: 207206 URL: http://svn.freebsd.org/changeset/base/207206 Log: sh: Use stalloc for arith variable names. This is simpler than the custom memory tracker I added earlier, and is also needed by the dash arith code I plan to import.