ls output
David Henderson
dhenderson at digital-pipe.com
Fri May 13 13:19:41 UTC 2011
On 05/13/2011 09:01 AM, David Henderson wrote:
> On 05/13/2011 08:45 AM, Ralf Friedl wrote:
>> 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
>>
>
> Opps, it appears as though I was looking at the grep help (I was
> scanning through buffered output). lol It's too early in the morning
> - I retract my regex statement. :)
Actually, now that I think about it, since 'ls' is just a busybox
applet, doesn't that mean that the code base is shared? So in essence,
doesn't that mean that 'ls' has the capability to process regex's natively?
Dave
More information about the busybox
mailing list