[PATCH] commands: add lodvar - load variable from file content

Sebastian Block basti at linux-source.de
Sat Sep 6 06:03:07 PDT 2014


Hi Alex,

> On Sat, Sep 06, 2014 at 02:25:08PM +0200, Sebastian Block wrote:
>> This adds a command to load a variable from file content.
>> It is a work-a-round for "var=$(cat file)".
>>
> 
> doesn't commands/readf.c do similar things?
> 

you are right. Please forget this patch.

Sebastian



More information about the barebox mailing list