suckless unix tools
git clone git://
Log | Files | Refs | README | LICENSE

commit 14660213051482328929c10a330b4e83610c833b
parent 987152a7d7d6409ad9e643208c64d9ea3fadb5d5
Author: Hiltjo Posthuma <>
Date:   Fri Jan 30 22:13:37 +0100

du.1: convert to mandoc

du.1 | 55+++++++++++++++++++++++++++----------------------------
1 file changed, 27 insertions(+), 28 deletions(-)
diff --git a/du.1 b/du.1 @@ -1,37 +1,36 @@ -.TH DU 1 sbase\-VERSION -.SH NAME -du \- display disk usage statistics -.SH SYNOPSIS -.B du -.RB [ \-a -.RB | -.BR \-s ] -.RB [ \-d -.IR depth ] -.RB [ \-k ] -.RB [ \-h ] -.RI [ file ...] -.SH DESCRIPTION -.B du +.Dd January 30, 2015 +.Dt DU 1 sbase\-VERSION +.Os +.Sh NAME +.Nm du +.Nd display disk usage statistics +.Sh SYNOPSIS +.Nm +.Op Fl a | s +.Op Fl d Ar depth +.Op Fl h +.Op Fl k +.Op Ar file ... +.Sh DESCRIPTION +.Nm displays the file system block usage for each -.I file +.Ar file argument and for each directory in the file hierarchy rooted in directory argument. If no file is specified, the block usage of the hierarchy rooted in the current directory is displayed. -.SH OPTIONS -.TP -.BI \-a +.Sh OPTIONS +.Bl -tag -width Ds +.It Fl a Display an entry for each file in the file hierarchy. -.TP -.BI \-s +.It Fl s Display only the grand total for the specified files. -.TP -.BI "\-d depth" +.It Fl d Ar depth Maximum directory depth to print files and directories. -.TP -.BI \-k +.It Fl k By default all sizes are reported in 512-byte block counts. -The -k option causes the numbers to be reported in kilobyte counts. -.TP -.BI \-h +The +.Fl k +option causes the numbers to be reported in kilobyte counts. +.It Fl h Enable human readable output. +.El