From nobody@FreeBSD.org  Mon Jan 10 21:06:16 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E041B16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 10 Jan 2005 21:06:16 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id CAA8243D5E
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 10 Jan 2005 21:06:16 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j0AL6EVW056308
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 10 Jan 2005 21:06:14 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j0AL6EOX056307;
	Mon, 10 Jan 2005 21:06:14 GMT
	(envelope-from nobody)
Message-Id: <200501102106.j0AL6EOX056307@www.freebsd.org>
Date: Mon, 10 Jan 2005 21:06:14 GMT
From: Sebastian Rey <Sebastian.rey@gmx.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Wrong description of "ls -l" in ls(1)
X-Send-Pr-Version: www-2.3

>Number:         76072
>Category:       docs
>Synopsis:       Wrong description of "ls -l" in ls(1)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 10 21:10:24 GMT 2005
>Closed-Date:    Tue Jan 11 09:52:28 MET 2005
>Last-Modified:  Tue Jan 11 09:52:28 MET 2005
>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@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:
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Tue Jan 11 09:51:56 MET 2005 
State-Changed-Why:  
Suggested fix (plus fix for -s, too) effectively appied in rev 1.84 of 
ls.1 -- thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=76072 
>Unformatted:
