Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 2010 07:52:25 +0400
From:      Andrey Chernov <ache@nagual.pp.ru>
To:        Jilles Tjoelker <jilles@FreeBSD.ORG>
Cc:        svn-src-head@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, src-committers@FreeBSD.ORG
Subject:   Re: svn commit: r207206 - head/bin/sh
Message-ID:  <20100427035224.GA87611@nagual.pp.ru>
In-Reply-To: <201004252043.o3PKhJi7065713@svn.freebsd.org>
References:  <201004252043.o3PKhJi7065713@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 25, 2010 at 08:43:19PM +0000, 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 tracker I added earlier, and is also
>   needed by the dash arith code I plan to import.

Just wonder, do you have plans to implement ${!variable} sometimes?
This bashism is very useful:

VAR_a1=foo
x=VAR_a1
echo ${!x}

-- 
http://ache.pp.ru/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100427035224.GA87611>