From: Wolfgang Denk Date: Mon, 07 Dec 2015 07:28:19 +0100 Subject: [U-Boot] [PATCH] common: cli_hush: Do a simple recursive variables parsing In-Reply-To: References: <1449255744-25787-1-git-send-email-nm@ti.com> <20151204202012.BB212383C74@gemini.denx.de> Message-ID: <20151207062819.F0A7A383F2E@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Simon, In message you wrote: > > > I think your change would causes non-standard shell behaviour. > > > > If you want to evaluate variables, you have to do so as part of a > > "run" command... > > I find the recursive behaviour much more useful. In particular we have > to jump through all sorts of hoops to build up a command line. It > would be much easier if we could make things recursive. The single > quote example above explicitly stops all substitution - do we need a > way to do that also? Useful it may be - in samoe cases at least, but I think it is a very bad idea to deviate from standard shell behaviour. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Man is the best computer we can put aboard a spacecraft ... and the only one that can be mass produced with unskilled labor. - Wernher von Braun