diff options
author | joerg <joerg@FreeBSD.org> | 2005-01-11 08:51:21 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 2005-01-11 08:51:21 +0000 |
commit | c27dcfcc1709e6211c5d169e24968ec7e817db5e (patch) | |
tree | 6b9a2b3dd5923ddda63ea7ccdfb77be7e6bbf6c9 /bin | |
parent | 962634b2064c00af5680206e1fa16b6fc0c67620 (diff) | |
download | FreeBSD-src-c27dcfcc1709e6211c5d169e24968ec7e817db5e.zip FreeBSD-src-c27dcfcc1709e6211c5d169e24968ec7e817db5e.tar.gz |
The total sum of blocks for the -l and -s option is printed always,
regardless whether the output is to a terminal or not. As this is
consistent with the SUSPv2 specification (even though we do not
otherwise fully implement SUSPv2's ls(1) options), document this as it
is now, rather than trying to change the behaviour itself.
PR: docs/76072
Submitted by: Sebastian Rey <Sebastian.rey@gmx.net>
MFC after: 1 week
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ls/ls.1 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/ls/ls.1 b/bin/ls/ls.1 index cedc218..ccd27be 100644 --- a/bin/ls/ls.1 +++ b/bin/ls/ls.1 @@ -32,7 +32,7 @@ .\" @(#)ls.1 8.7 (Berkeley) 7/29/94 .\" $FreeBSD$ .\" -.Dd May 2, 2004 +.Dd January 11, 2005 .Dt LS 1 .Os .Sh NAME @@ -196,7 +196,9 @@ will nullify earlier .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 (in blocks, see the +.Fl s +option for the block size unit) 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. @@ -224,7 +226,7 @@ lexicographical order or the oldest entries first. .It Fl s Display the number of file system blocks actually used by each file, in units of 512 bytes, where partial units are rounded up to the next integer value. -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 listing. The environment variable .Ev BLOCKSIZE |