[PATCH v1] writef: added command to write content of variable to file

Sascha Hauer s.hauer at pengutronix.de
Mon Oct 16 01:38:34 PDT 2017


On Fri, Oct 06, 2017 at 10:23:16AM +0200, Gerd Pauli wrote:
> writef: added command to write content of variable to file.
>         Adds a newline at the emd of the string.
> 
> Usage: writef VAR FILE

Do we need this command at all? It could be replaced with

echo -o FILE $foo

no?

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 |



More information about the barebox mailing list