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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#24209: closed (du inconsistent with its documentation)
Date: Fri, 12 Aug 2016 15:10:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 12 Aug 2016 01:03:36 -0700
with message-id <a7e5b9a4-2678-b507-9be6-fac503518187 <at> cs.ucla.edu>
and subject line Re: bug#24209: du inconsistent with its documentation
has caused the debbugs.gnu.org bug report #24209,
regarding du inconsistent with its documentation
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
24209: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24209
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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


[Message part 3 (message/rfc822, inline)]
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'.



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.