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.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 28029 invoked from network); 3 Nov 2021 02:55:44 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 3 Nov 2021 02:55:44 -0000 Received: from mail-pg1-f177.google.com ([209.85.215.177]) by 4ess; Tue Nov 2 17:53:37 -0400 2021 Received: by mail-pg1-f177.google.com with SMTP id 75so589161pga.3 for <9front@9front.org>; Tue, 02 Nov 2021 14:53:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=zdL0pXCJaSbB37293kdDEF5/5bnRHv+5xOm4vugl7Lw=; b=XnmQAfiDfc3dFZwkyuDRe+AokezKFw1j9VLkEwVGgZ0s22ZBzALm7KhUfH+dK86EyR hE7Mju2gDVSdN+s8AnV2+IotjoYZO0A76MKbPvLg2flYiGFc/2cSa05LlbytG3ExKYah msvVZPajGJgrIopA4lcxjw2upGdDHDR6ySt4VOp2Gp80ewJjEfpGqedDCjEkXYgvnRxO wr7rLYZZt4nEYtkTmTi5K0UYN8IKCE/TSs4I3tmJEucRrAHYjTKB090a3o+8y0wIuIwl 4F9xNllKLBwxoZEb5RytZWg+M0HNmWviN0PvbGhzXqp5KXYeHJdel6p+DCesYkDaeP9J 7Aeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=zdL0pXCJaSbB37293kdDEF5/5bnRHv+5xOm4vugl7Lw=; b=Z/RqWa9zRZT+MlJPk/bcTyhfMppAqqIuWzDqf/HDa+hneLBh3lSe/qNzBU+H6N5/kO 6OLn+u5oKkETDYS8oG7kkjB/ZljkzkhP/YWUyN9ak5WNl9lAcbPNN9PSUrsskxKHM6qn KMpneKwoDG6cWAtUjp+cWpVZi3cKmCMQKJhfy4yNo8UwNE3PbtGCLf2njRhYJBt3sAU9 HfzzjwmMQe4vtpDLb6tH9VZFthYR33Mggl2Fw+tsjkaOQdSU3uK2HIfwfyCjdXY2RFux rtmDAaAMxhRmtteNNHSV12/mCmi525SKbSz5Dk2WMYcGAiWVWtSWFfkvsxpoQLmRZoyw oB7A== X-Gm-Message-State: AOAM532dSZKYESUj+4ob/X+PTKoybAn+jjPaH3rjsycrGwpoQ6leudq5 wZA4huWQRTheRpM0iZxApS60PI91Rp8= X-Google-Smtp-Source: ABdhPJy5wRGVZ/Y/E5WMmrdjr4OIJKKWwSDiYgsQ2iwdeQGkHD1Zh09ek400YBhnO93OqOZVLN17iw== X-Received: by 2002:a05:6a00:2405:b0:44c:1ec3:8dbe with SMTP id z5-20020a056a00240500b0044c1ec38dbemr40692740pfh.33.1635890009475; Tue, 02 Nov 2021 14:53:29 -0700 (PDT) Return-Path: Received: from imac.0x30.net (d205-250-121-157.bchsia.telus.net. [205.250.121.157]) by smtp.gmail.com with ESMTPSA id y19sm133215pfn.23.2021.11.02.14.53.28 for <9front@9front.org> (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 02 Nov 2021 14:53:29 -0700 (PDT) Date: Tue, 2 Nov 2021 14:53:27 -0700 From: Kyle Milz To: 9front@9front.org Message-ID: References: <20211102195438.57d67f27@gmx.de> <64533601D12D22872A99F2CD9C550F23@eigenstate.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <64533601D12D22872A99F2CD9C550F23@eigenstate.org> List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: virtualized private firewall XML over SQL enhancement hosting just-in-time backend Subject: Re: [9front] man du -s correction diff Reply-To: 9front@9front.org Precedence: bulk On Tue, Nov 02, 2021 at 03:38:10PM -0400, ori@eigenstate.org wrote: > A bunch of tweaks. looks like we almost wrote the same diff.. comments inline. > 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. use present tense 'Supress' to match the other options? > +.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 dont think 'Causes du to...' adds any value. i think we can assume the reader knows that options are going to change a programs behavior. > .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 yes > .B -e > -option causes > +Causes same as above > .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 same as above > .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 same as above > .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. hmm, this is actually supported by the source code, although it says its undocumented. i'm inclined to leave it here, commented, but dont feel strongly. > .SH EXAMPLES > Print the size of > .L /tmp >