[Buildroot] [PATCH 2/8] core/pkg-utils: add a macro to pretty-print a help entry

Jérôme Pouiller jezz at sysmic.org
Thu Mar 10 09:31:23 UTC 2016


Hello Arnout, Yann,

On Thursday 10 March 2016 00:37:17 Arnout Vandecappelle wrote:
> On 03/09/16 23:22, Yann E. MORIN wrote:
[...]

> > +	for h in $(1); do \
> > +		printf "  %-22s - %s\n" "$${h%% : *}" "$${h#* : }"; \
> > +	done
Personally, I dislike this automatic splitting of argument. Especially,
this macro is not obvious and it may look like black magic.

Regards,

-- 
Jérôme Pouiller, Sysmic
Embedded Linux specialist
http://www.sysmic.fr



More information about the buildroot mailing list