Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/du Sort options. Bump date for -h addition. Begin ne...



details:   https://anonhg.NetBSD.org/src/rev/995d39f6c94c
branches:  trunk
changeset: 537132:995d39f6c94c
user:      wiz <wiz%NetBSD.org@localhost>
date:      Fri Sep 27 07:18:16 2002 +0000

description:
Sort options. Bump date for -h addition. Begin new sentences on new lines(!).
The abbreviation for 'kilo' is still a small 'k', not a capital one.
Add -h to the list of options that disable display in default blocksize.

diffstat:

 usr.bin/du/du.1 |  27 +++++++++++++++------------
 1 files changed, 15 insertions(+), 12 deletions(-)

diffs (67 lines):

diff -r cc4f677d6b3d -r 995d39f6c94c usr.bin/du/du.1
--- a/usr.bin/du/du.1   Fri Sep 27 07:08:29 2002 +0000
+++ b/usr.bin/du/du.1   Fri Sep 27 07:18:16 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: du.1,v 1.13 2002/09/27 03:33:33 provos Exp $
+.\"    $NetBSD: du.1,v 1.14 2002/09/27 07:18:16 wiz Exp $
 .\"
 .\" Copyright (c) 1990, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -33,7 +33,7 @@
 .\"
 .\"    @(#)du.1        8.2 (Berkeley) 4/1/94
 .\"
-.Dd October 4, 1996
+.Dd September 27, 2002
 .Dt DU 1
 .Os
 .Sh NAME
@@ -65,6 +65,15 @@
 No symbolic links are followed.
 .It Fl a
 Display an entry for each file in the file hierarchy.
+.It Fl c
+Display the grand total after all the arguments have been processed.
+.It Fl h
+If the
+.Fl h
+flag is specified, the numbers will be displayed in "human-readable"
+format.
+Use unit suffixes: B (Byte), k (Kilobyte), M (Megabyte), G (Gigabyte),
+T (Terabyte) and P (Petabyte).
 .It Fl k
 By default,
 .Nm
@@ -74,20 +83,13 @@
 If the
 .Fl k
 flag is specified, the number displayed is the number of kilobyte
-(1024 bytes) blocks. Partial numbers of blocks are rounded up.
+(1024 bytes) blocks.
+Partial numbers of blocks are rounded up.
 .It Fl m
 If the
 .Fl m
 flag is specified, the number displayed is the number of megabyte
 (1024*1024 bytes) blocks.
-.It Fl h
-If the
-.Fl h
-flag is specified, the numbers will be displayed in "human-readable"
-format. Use unit suffixes: B (Byte), K (Kilobyte), M (Megabyte),
-G (Gigabyte), T (Terabyte) and P (Petabyte).
-.It Fl c
-Display the grand total after all the arguments have been processed.
 .It Fl r
 Generate warning messages about directories that cannot be read.
 This is the default behaviour.
@@ -128,7 +130,8 @@
 If the environment variable
 .Ev BLOCKSIZE
 is set, and the
-.Fl k
+.Fl h ,
+.Fl k ,
 and
 .Fl m
 options are not specified, the block counts will be displayed in units of that



Home | Main Index | Thread Index | Old Index