summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2020-10-21 17:00:48 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2020-10-21 17:00:48 +0000
commit672106037a5d75e6ffc4dc86c4ec9f1d02b70bd7 (patch)
treecfcf32b7ee55fcdd71de7ce0a54484dc25c3b98c /usr.bin
parent77da516bf903f492dd1f8371fccb937112fe33c5 (diff)
simplify and improve the example by using the -a and -d options;
suggested by <adr at sdf dot org>, tweaked by me
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/du/du.16
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/du/du.1 b/usr.bin/du/du.1
index 66e2d0cb822..5f284b782eb 100644
--- a/usr.bin/du/du.1
+++ b/usr.bin/du/du.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: du.1,v 1.37 2020/01/30 17:54:30 schwarze Exp $
+.\" $OpenBSD: du.1,v 1.38 2020/10/21 17:00:47 schwarze Exp $
.\" $NetBSD: du.1,v 1.6 1996/10/18 07:20:31 thorpej Exp $
.\"
.\" Copyright (c) 1990, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)du.1 8.2 (Berkeley) 4/1/94
.\"
-.Dd $Mdocdate: January 30 2020 $
+.Dd $Mdocdate: October 21 2020 $
.Dt DU 1
.Os
.Sh NAME
@@ -151,7 +151,7 @@ option is specified.
Display a summary of files and folders in the current directory,
sorted by size:
.Pp
-.Dl $ du -sh * .??* | sort -h
+.Dl $ du -had 1 | sort -h
.Sh SEE ALSO
.Xr df 1 ,
.Xr fts_open 3 ,