GNU bug report logs - #24209
du inconsistent with its documentation

Previous Next

Package: coreutils;

Reported by: John Harper <harper <at> msor.vuw.ac.nz>

Date: Fri, 12 Aug 2016 02:51:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24209 in the body.
You can then email your comments to 24209 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#24209; Package coreutils. (Fri, 12 Aug 2016 02:51:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to John Harper <harper <at> msor.vuw.ac.nz>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Fri, 12 Aug 2016 02:51:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: John Harper <harper <at> msor.vuw.ac.nz>
To: bug-coreutils <at> gnu.org
Subject: du inconsistent with its documentation
Date: Fri, 12 Aug 2016 13:41:11 +1200 (NZST)
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 <at> vuw.ac.nz phone (+64)(4)463 5276 fax (+64)(4)463 5045




Information forwarded to bug-coreutils <at> gnu.org:
bug#24209; Package coreutils. (Fri, 12 Aug 2016 14:26:02 GMT) Full text and rfc822 format available.

Message #8 received at 24209 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: John Harper <harper <at> msor.vuw.ac.nz>, 24209 <at> debbugs.gnu.org
Subject: Re: bug#24209: du inconsistent with its documentation
Date: Fri, 12 Aug 2016 09:27:51 +0100
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





Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Fri, 12 Aug 2016 15:10:02 GMT) Full text and rfc822 format available.

Notification sent to John Harper <harper <at> msor.vuw.ac.nz>:
bug acknowledged by developer. (Fri, 12 Aug 2016 15:10:02 GMT) Full text and rfc822 format available.

Message #13 received at 24209-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: John Harper <harper <at> msor.vuw.ac.nz>, 24209-done <at> debbugs.gnu.org
Subject: Re: bug#24209: du inconsistent with its documentation
Date: Fri, 12 Aug 2016 01:03:36 -0700
John Harper wrote:
> miro[~]$ du --maxdepth=1

It's 'max-depth', not 'maxdepth'.





Information forwarded to bug-coreutils <at> gnu.org:
bug#24209; Package coreutils. (Fri, 12 Aug 2016 21:32:02 GMT) Full text and rfc822 format available.

Message #16 received at 24209 <at> debbugs.gnu.org (full text, mbox):

From: John Harper <harper <at> msor.vuw.ac.nz>
To: 24209 <at> debbugs.gnu.org
Subject: Re: bug#24209: Acknowledgement (du inconsistent with its
 documentation)
Date: Sat, 13 Aug 2016 09:31:31 +1200 (NZST)
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 <help-debbugs <at> gnu.org>
> Reply-To: 24209 <at> debbugs.gnu.org
> To: John Harper <harper <at> msor.vuw.ac.nz>
> 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 <at> gnu.org
>
> If you wish to submit further information on this problem, please
> send it to 24209 <at> debbugs.gnu.org.
>
> Please do not send mail to help-debbugs <at> 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 <at> gnu.org with problems
>
>


-- John Harper, School of Mathematics and Statistics
Victoria University, PO Box 600, Wellington 6140, New Zealand
e-mail john.harper <at> vuw.ac.nz phone (+64)(4)463 5276 fax (+64)(4)463 5045




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 10 Sep 2016 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 340 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.