[PATCH 1/6] android: some sensible defconfig changes

Rich Felker dalias at aerifal.cx
Mon May 28 23:35:01 UTC 2012


On Tue, May 29, 2012 at 01:25:40AM +0200, ralda at gmx.de wrote:
> > - ls --color (default)
> > +CONFIG_FEATURE_LS_COLOR_IS_DEFAULT=y
> 
> This is a bad idea. LS_COLOR_IS_DEFAULT breaks the usage of ls in many
> shell scripts ... or at least did this in older versions (don't know if
> newer versions have any workaround for this).

The proper use of color-ls-by-default is with a shell alias; IMO this
option should be removed from busybox since it's so broken. And yes,
the breakage is still there, or at least explicit --color affects
output even if it's not a terminal.

Rich


More information about the busybox mailing list