From unknown Thu Aug 14 12:25:32 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#24209 <24209@debbugs.gnu.org> To: bug#24209 <24209@debbugs.gnu.org> Subject: Status: du inconsistent with its documentation Reply-To: bug#24209 <24209@debbugs.gnu.org> Date: Thu, 14 Aug 2025 19:25:32 +0000 retitle 24209 du inconsistent with its documentation reassign 24209 coreutils submitter 24209 John Harper severity 24209 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 22:50:49 2016 Received: (at submit) by debbugs.gnu.org; 12 Aug 2016 02:50:49 +0000 Received: from localhost ([127.0.0.1]:54569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bY2Ya-0001aJ-FA for submit@debbugs.gnu.org; Thu, 11 Aug 2016 22:50:49 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bY1i5-0000Aj-8E for submit@debbugs.gnu.org; Thu, 11 Aug 2016 21:56:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bY1hz-0003gb-1y for submit@debbugs.gnu.org; Thu, 11 Aug 2016 21:56:27 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56876) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bY1hy-0003fr-VU for submit@debbugs.gnu.org; Thu, 11 Aug 2016 21:56:26 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55199) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bY1hw-00050D-P6 for bug-coreutils@gnu.org; Thu, 11 Aug 2016 21:56:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bY1hs-0003bU-LP for bug-coreutils@gnu.org; Thu, 11 Aug 2016 21:56:23 -0400 Received: from kaukau.ecs.vuw.ac.nz ([130.195.5.20]:63131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bY1hs-0003T0-3s for bug-coreutils@gnu.org; Thu, 11 Aug 2016 21:56:20 -0400 Received: from mail1.ecs.vuw.ac.nz (mail1.ecs.vuw.ac.nz [130.195.5.23]) by kaukau.ecs.vuw.ac.nz (8.15.2/8.13.3) with ESMTP id u7C1fC4N009930 for ; Fri, 12 Aug 2016 13:41:13 +1200 (NZST) Received: from cayley.msor.vuw.ac.nz (cayley.msor.vuw.ac.nz [130.195.8.137]) by mail1.ecs.vuw.ac.nz (8.15.2/8.13.3) with ESMTPS id u7C1fBVC020431 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 12 Aug 2016 13:41:12 +1200 (NZST) Received: from localhost (harper@localhost) by cayley.msor.vuw.ac.nz (8.15.2/8.13.3/Submit) with ESMTP id u7C1fBxm031631 for ; Fri, 12 Aug 2016 13:41:11 +1200 X-Authentication-Warning: cayley.msor.vuw.ac.nz: harper owned process doing -bs Date: Fri, 12 Aug 2016 13:41:11 +1200 (NZST) From: John Harper To: bug-coreutils@gnu.org Subject: du inconsistent with its documentation Message-ID: User-Agent: Alpine 2.03 (LNX 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (kaukau.ecs.vuw.ac.nz [130.195.5.20]); Fri, 12 Aug 2016 13:41:13 +1200 (NZST) X-Scanned-By: MIMEDefang 2.78 on 130.195.5.20 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 11 Aug 2016 22:50:47 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) On an x86-64 Linux system with SHELL=/bin/bash , du objects to the option --max-depth=1 but du --help suggests it is allowed. Evidence (with 5 empty spaces removed from the beginning of each line that had them, so this email would not break lines unnecessarily): miro[~]$ printenv | grep SHELL SHELL=/bin/bash miro[~]$ du --maxdepth=1 du: unrecognized option '--maxdepth=1' Try `du --help' for more information. miro[~]$ du --help | grep -A 1 depth --max-depth=N print the total for a directory (or file, with --all) only if it is N or fewer levels below the command line argument; --max-depth=0 is the same as --summarize -- John Harper, School of Mathematics and Statistics Victoria University, PO Box 600, Wellington 6140, New Zealand e-mail john.harper@vuw.ac.nz phone (+64)(4)463 5276 fax (+64)(4)463 5045 From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 12 10:25:27 2016 Received: (at 24209) by debbugs.gnu.org; 12 Aug 2016 14:25:27 +0000 Received: from localhost ([127.0.0.1]:55275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYDOp-0002BY-2U for submit@debbugs.gnu.org; Fri, 12 Aug 2016 10:25:27 -0400 Received: from mail.magicbluesmoke.com ([82.195.144.49]:58392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYDOn-0002BQ-Ue for 24209@debbugs.gnu.org; Fri, 12 Aug 2016 10:25:26 -0400 Received: from [192.168.1.80] (unknown [109.76.167.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.magicbluesmoke.com (Postfix) with ESMTPSA id 9B7B3224; Fri, 12 Aug 2016 09:27:51 +0100 (IST) Subject: Re: bug#24209: du inconsistent with its documentation To: John Harper , 24209@debbugs.gnu.org References: From: =?UTF-8?Q?P=c3=a1draig_Brady?= Message-ID: <57AD8887.6080803@draigBrady.com> Date: Fri, 12 Aug 2016 09:27:51 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tag 24209 notabug close 24209 stop On 12/08/16 02:41, John Harper wrote: > On an x86-64 Linux system with SHELL=/bin/bash , du objects to the option > --max-depth=1 but du --help suggests it is allowed. > > Evidence (with 5 empty spaces removed from the beginning of each line that > had them, so this email would not break lines unnecessarily): > > miro[~]$ printenv | grep SHELL > SHELL=/bin/bash > miro[~]$ du --maxdepth=1 ^ missing hyphen [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.1 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date X-Debbugs-Envelope-To: 24209 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tag 24209 notabug close 24209 stop On 12/08/16 02:41, John Harper wrote: > On an x86-64 Linux system with SHELL=/bin/bash , du objects to the option > --max-depth=1 but du --help suggests it is allowed. > > Evidence (with 5 empty spaces removed from the beginning of each line that > had them, so this email would not break lines unnecessarily): > > miro[~]$ printenv | grep SHELL > SHELL=/bin/bash > miro[~]$ du --maxdepth=1 ^ missing hyphen [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.1 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date tag 24209 notabug close 24209 stop On 12/08/16 02:41, John Harper wrote: > On an x86-64 Linux system with SHELL=/bin/bash , du objects to the option > --max-depth=1 but du --help suggests it is allowed. > > Evidence (with 5 empty spaces removed from the beginning of each line that > had them, so this email would not break lines unnecessarily): > > miro[~]$ printenv | grep SHELL > SHELL=/bin/bash > miro[~]$ du --maxdepth=1 ^ missing hyphen From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 12 11:10:01 2016 Received: (at 24209-done) by debbugs.gnu.org; 12 Aug 2016 15:10:01 +0000 Received: from localhost ([127.0.0.1]:55296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYE5w-0004vi-Q4 for submit@debbugs.gnu.org; Fri, 12 Aug 2016 11:10:00 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:43527) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYE5v-0004vU-EK for 24209-done@debbugs.gnu.org; Fri, 12 Aug 2016 11:09:59 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id D4935161163; Fri, 12 Aug 2016 01:03:42 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id JYapzaizoMHe; Fri, 12 Aug 2016 01:03:42 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 38AEC161196; Fri, 12 Aug 2016 01:03:42 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Or6smmjCIqXE; Fri, 12 Aug 2016 01:03:42 -0700 (PDT) Received: from [192.168.1.9] (unknown [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 1BED2161163; Fri, 12 Aug 2016 01:03:42 -0700 (PDT) Subject: Re: bug#24209: du inconsistent with its documentation To: John Harper , 24209-done@debbugs.gnu.org References: From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: Date: Fri, 12 Aug 2016 01:03:36 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 24209-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) John Harper wrote: > miro[~]$ du --maxdepth=1 It's 'max-depth', not 'maxdepth'. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 12 17:31:38 2016 Received: (at 24209) by debbugs.gnu.org; 12 Aug 2016 21:31:38 +0000 Received: from localhost ([127.0.0.1]:55504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYK3G-0005F8-3T for submit@debbugs.gnu.org; Fri, 12 Aug 2016 17:31:38 -0400 Received: from kaukau.ecs.vuw.ac.nz ([130.195.5.20]:49427) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYK3D-0005Ex-BL for 24209@debbugs.gnu.org; Fri, 12 Aug 2016 17:31:36 -0400 Received: from mail1.ecs.vuw.ac.nz (mail1.ecs.vuw.ac.nz [130.195.5.23]) by kaukau.ecs.vuw.ac.nz (8.15.2/8.13.3) with ESMTP id u7CLVWb2019926 for <24209@debbugs.gnu.org>; Sat, 13 Aug 2016 09:31:32 +1200 (NZST) Received: from cayley.msor.vuw.ac.nz (cayley.msor.vuw.ac.nz [130.195.8.137]) by mail1.ecs.vuw.ac.nz (8.15.2/8.13.3) with ESMTPS id u7CLVW6v007903 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <24209@debbugs.gnu.org>; Sat, 13 Aug 2016 09:31:32 +1200 (NZST) Received: from localhost (harper@localhost) by cayley.msor.vuw.ac.nz (8.15.2/8.13.3/Submit) with ESMTP id u7CLVVVm014307 for <24209@debbugs.gnu.org>; Sat, 13 Aug 2016 09:31:32 +1200 X-Authentication-Warning: cayley.msor.vuw.ac.nz: harper owned process doing -bs Date: Sat, 13 Aug 2016 09:31:31 +1200 (NZST) From: John Harper To: 24209@debbugs.gnu.org Subject: Re: bug#24209: Acknowledgement (du inconsistent with its documentation) In-Reply-To: Message-ID: References: User-Agent: Alpine 2.03 (LNX 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (kaukau.ecs.vuw.ac.nz [130.195.5.20]); Sat, 13 Aug 2016 09:31:32 +1200 (NZST) X-Scanned-By: MIMEDefang 2.78 on 130.195.5.20 X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 24209 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) Apologies - I had failed to notice that my option was --maxdepth=1 instead of the correct --max-depth=1 On Fri, 12 Aug 2016, GNU bug Tracking System wrote: > Date: Fri, 12 Aug 2016 02:51:02 +0000 > From: GNU bug Tracking System > Reply-To: 24209@debbugs.gnu.org > To: John Harper > Subject: bug#24209: Acknowledgement (du inconsistent with its documentation) > > Thank you for filing a new bug report with debbugs.gnu.org. > > This is an automatically generated reply to let you know your message > has been received. > > Your message is being forwarded to the package maintainers and other > interested parties for their attention; they will reply in due course. > > Your message has been sent to the package maintainer(s): > bug-coreutils@gnu.org > > If you wish to submit further information on this problem, please > send it to 24209@debbugs.gnu.org. > > Please do not send mail to help-debbugs@gnu.org unless you wish > to report a problem with the Bug-tracking system. > > -- > 24209: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24209 > GNU Bug Tracking System > Contact help-debbugs@gnu.org with problems > > -- John Harper, School of Mathematics and Statistics Victoria University, PO Box 600, Wellington 6140, New Zealand e-mail john.harper@vuw.ac.nz phone (+64)(4)463 5276 fax (+64)(4)463 5045 From unknown Thu Aug 14 12:25:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 10 Sep 2016 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator