Bug 230717 - ls: add option to group directories first
Summary: ls: add option to group directories first
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 11.2-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-17 21:00 UTC by vermaden
Modified: 2018-08-17 21:22 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vermaden 2018-08-17 21:00:00 UTC
The GNU ls has --group-directories-first option which FreeBSD's ls(1) lacks.

% gls
bin   COPYRIGHT  etc  libexec  mnt  proc    root  sys  usr
boot  dev        lib  media    net  rescue  sbin  tmp  var

% gls --group-directories-first
bin   dev  lib      media  net   rescue  sbin  usr  COPYRIGHT
boot  etc  libexec  mnt    proc  root    tmp   var  sys
Comment 1 Conrad Meyer freebsd_committer 2018-08-17 21:22:54 UTC
Is this option commonly used on Linux?  Is it very helpful for anything?