From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 19155 invoked from network); 2 Nov 2021 20:29:36 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 2 Nov 2021 20:29:36 -0000 Received: from mimir.eigenstate.org ([206.124.132.107]) by 4ess; Tue Nov 2 15:45:24 -0400 2021 Received: from abbatoir.myfiosgateway.com (pool-74-108-56-225.nycmny.fios.verizon.net [74.108.56.225]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id 634dcca9 (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9front@9front.org>; Tue, 2 Nov 2021 12:38:11 -0700 (PDT) Message-ID: <64533601D12D22872A99F2CD9C550F23@eigenstate.org> To: 9front@9front.org Date: Tue, 02 Nov 2021 15:38:10 -0400 From: ori@eigenstate.org In-Reply-To: <20211102195438.57d67f27@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: advanced session AJAX over SVG core pipelining standard Subject: Re: [9front] man du -s correction diff Reply-To: 9front@9front.org Precedence: bulk Quoth Eckard Brauer : > > I agree that the current phrasing is a bit confusing. > > What about "for each file" => "for each argument"? > > "each non-option argument"? "-s" (and a few more) is an argument for > itself... A bunch of tweaks. diff ca73f673473457152d6f1b2e9030495f8dec5c49 uncommitted --- a//sys/man/1/du +++ b//sys/man/1/du @@ -35,60 +35,53 @@ The count for a directory includes the counts of the contained files and directories. .PP -The +The following options are accepted: +.TP .B -a -option prints the number of blocks -for every file in a directory. +Print the number of blocks for every file in a directory. Normally counts are printed only for contained directories. -.PP -The +.TP .B -f -option suppresses the printing of warning messages. -.PP -The +Suppresses the printing of warning messages. +.TP .B -n -option prints the size in bytes and the name of each file; it sets +Print the size in bytes and the name of each file; it sets .BR -a . -.PP -The +.TP .B -t -option prints, in the format of +Print, in the format of .B du .BR -n , -the modified time of -each file rather than the size. +the modified time of each file rather than the size. If the options .B -tu are specified then the accessed time is printed. -.PP -The +.TP .B -q -option prints, in the format of +Print, in the format of .B du .BR -n , the QID path of each file rather than the size. -.PP -The +.TP .B -s -option causes +Causes .I du to descend the hierarchy as always, but to print only a summary line for each -.IR file . -.PP -The +.I file +argument. +.TP .B -e -option causes +Causes .I du to print values (sizes, times or QID paths) in `scientific notation' via .IR print (2)'s .BR %g . -.PP -The +.TP .B -h -option causes +Causes .I du to print values (sizes, times or QID paths) in scientific notation, @@ -96,10 +89,9 @@ (e.g., .L G for binary gigabytes). -.PP -The +.TP .B -p -option causes +Causes .I du to print values (sizes, times or QID paths) in units of @@ -109,12 +101,6 @@ An empty .IR SI-prefix corresponds to a scale factor of 1 (e.g., print sizes in bytes). -.\" .PP -.\" The -.\" .B -r -.\" option causes -.\" .I du -.\" to read and discard every byte of every file encountered. .SH EXAMPLES Print the size of .L /tmp