[U-Boot] [PATCH 2/6] moveconfig: Allow reading the defconfig list from stdin
Simon Glass
sjg at chromium.org
Wed May 17 01:38:28 UTC 2017
Hi Tom,
On 15 May 2017 at 06:24, Tom Rini <trini at konsulko.com> wrote:
> On Mon, May 15, 2017 at 05:47:32AM -0600, Simon Glass wrote:
>
>> Support passes in a defconfig filename of '-' to read the list from stdin
>> instead of from a file.
>>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>
> This seems like a lot more work than just doing -d <(printf "a\nb\n").
> I'm not nak'ing this, mind you, I just don't quite get the use case.
That is certainly equivalent, but I find myself doing:
git status | awk '{print $1}' | something else | ...
and then when I get that right, I just add moveconfig to the end. I
suppose I could just as easily do:
moveconfig ... $(!!)
but I quite like the pipeline approach :-)
Regards,
Simon
More information about the U-Boot
mailing list