ls output

Ralf Friedl Ralf.Friedl at online.de
Fri May 13 12:45:23 UTC 2011


David Henderson wrote:
> On 05/12/2011 05:11 PM, Ralf Friedl wrote:
>> David Henderson wrote:
>>> I'm not sure how much it would increase the size of BB, but I 
>>> wouldn't think much since the 'ls' command already processes regex's.
>> Well, where exactly does 'ls' already processes regex's?
>>
>> Ralf
>
> Taken directly from the 'ls --help':
>
> -E      PATTERN is an extended regexp
I don't find an option -E in busybox ls or in coreutils ls. But grep has 
exactly that option:
$ ls --help 2>&1 | grep -- -E
$ grep --help 2>&1 | grep -- -E
        -E      PATTERN is an extended regexp

Ralf



More information about the busybox mailing list