ls -G is not "just like -l"
Bug #51653 reported by
Martin Pool
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
coreutils (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: coreutils
The ls manpage says
-g like -l, but do not list owner
-G, --no-group
like -l, but do not list group
"ls -g" gives a long listing with the group shown, and not the owner, as advertised. However, "ls -G" gives just a short listing (with neither the owner or group shown). You need "ls -lG" to see the owner.
I suggest that -G should be changed to imply a long listing, as -g does -- that seems to be the designed and sensible behaviour, since otherwise the option is pointless. Otherwise at least the manpage should be fixed.
Changed in coreutils: | |
importance: | Undecided → Low |
To post a comment you must log in.
This is a doc bug, if at all, try
'ls -lgG'