ls with "--group-directories-first" ?

Philip Rhoades phil at pricom.com.au
Sun Jan 22 22:32:13 UTC 2017


Denys,


On 2017-01-23 08:05, Denys Vlasenko wrote:
> Just committed it to git, please try


Perfect!  Many thanks . .

Now I just need to work out how to upgrade my Android ROM with the new 
BusyBox . .

Regards,

Phil.


> On Sat, Jan 21, 2017 at 3:05 PM, Philip Rhoades <phil at pricom.com.au> 
> wrote:
>> People,
>> 
>> ls results with mixed directories and files drives me crazy . . has 
>> anyone
>> done the equivalent of the GNU feature:
>> 
>>   "--group-directories-first"
>> 
>> ?
>> 
>> ATM, I am working around it with an "lm" script of:
>> 
>>   ls -alp | grep "\/$"
>>   ls -alp | grep "[^\/]$"
>> 
>> but of course this strips out the colours in the listing . .
>> 
>> Thanks for BusyBox!
>> 
>> Regards,
>> 
>> Phil.
>> --
>> Philip Rhoades
>> 
>> PO Box 896
>> Cowra  NSW  2794
>> Australia
>> E-mail:  phil at pricom.com.au
>> _______________________________________________
>> busybox mailing list
>> busybox at busybox.net
>> http://lists.busybox.net/mailman/listinfo/busybox

-- 
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  phil at pricom.com.au


More information about the busybox mailing list