docs/76072: Wrong description of "ls -l" in ls(1)
Sebastian Rey
Sebastian.rey at gmx.net
Mon Jan 10 21:10:25 UTC 2005
>Number: 76072
>Category: docs
>Synopsis: Wrong description of "ls -l" in ls(1)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jan 10 21:10:24 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Sebastian Rey
>Release: 4-Stable
>Organization:
>Environment:
FreeBSD marvin.local-galaxy.local 4.10-STABLE FreeBSD 4.10-STABLE #2: Sat Jul 10 14:03:08 CEST 2004 toor at marvin.local-galaxy.local:/usr/obj/usr/src/sys/KERNEL i386
>Description:
The ls man page says, that ls -l will only output a total sum for all the file sizes, if stdout is a terminal. But ls -l will always output a total line. This behavior conforms with SUSv2.
>How-To-Repeat:
man ls
>Fix:
--- /usr/src/bin/ls/ls.1 Fri Apr 9 14:14:18 2004
+++ ls.1 Mon Jan 10 21:56:18 2005
@@ -188,7 +188,7 @@
.Dq ell . )
List in long format.
(See below.)
-If the output is to a terminal, a total sum for all the file
+A total sum for all the file
sizes is output on a line before the long listing.
.It Fl m
Stream output format; list files across the page, separated by commas.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list