On Wed, Apr 19, 2017 at 06:04:17PM +0800, 张忠山 wrote: > Hush does not support command substitution > In barebox is there some to set var from a command output? > Or is there a command to do it? There is no way to set a variable from a command output, mostly because this would be really hard to implement. However, some commands support setting a variable directly, like for example the basename command. Which command output do you want to have in a variable? Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox