[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ls' --group-directories-first
From: |
Eric Blake |
Subject: |
Re: ls' --group-directories-first |
Date: |
Fri, 8 Apr 2016 10:20:21 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 |
On 04/08/2016 08:33 AM, Renich Bon Ciric wrote:
> Hello,
>
> IMHO, --group-directories-first should be the default behavior of ls.
> I think users expect this from the command already. What do you think?
This would violate POSIX, which requires sorting in a particular order,
so we CAN'T make it default - doing so would break expectations of
scripts that have come to rely on POSIX ordering. But you can always
set up an alias or wrapper script so that you always invoke with your
desired options locally.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature