GNU bug report logs - #21926
du --summarize prunes subdirectories from output.

Previous Next

Package: coreutils;

Reported by: Michaël Cadilhac <michael <at> cadilhac.name>

Date: Sun, 15 Nov 2015 08:43:02 UTC

Severity: normal

Tags: notabug

Merged with 17546

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michaël Cadilhac <michael <at> cadilhac.name>
To: 21926 <at> debbugs.gnu.org
Subject: bug#21926: du --summarize prunes subdirectories from output.
Date: Sun, 15 Nov 2015 14:11:27 +0530
Hi there;

The --summarize option of du(1) states:
              display only a total for each argument
Thus I'm assuming that whatever the number of arguments, I'll obtain
an equal number of outputs.  However:

$ mkdir -p a/b
$ du -s a a/b
0       a
$

It is either a bug of du or of its man.

Thanks!
M.

Technical details: du (GNU coreutils) 8.24 on
Arch Linux 4.1.12-1-lts #1 SMP Tue Oct 27 17:21:25 CET 2015 x86_64 GNU/Linux




This bug report was last modified 6 years and 236 days ago.

Previous Next


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