[U-Boot] [PATCH] common: cli_hush: Do a simple recursive variables parsing

Wolfgang Denk wd at denx.de
Mon Dec 7 07:28:19 CET 2015


Dear Simon,

In message <CAPnjgZ1j=yNOSbmDU0Pkq2y1wq-y=v7O2y7zPTNEfc==St3rgQ at mail.gmail.com> 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


More information about the U-Boot mailing list