GNU bug report logs - #20277
du wild card not working

Previous Next

Package: coreutils;

Reported by: Gert Pellin <gert <at> gepe-biljarts.be>

Date: Tue, 7 Apr 2015 22:54:01 UTC

Severity: normal

Tags: notabug

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


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

From: Eric Blake <eblake <at> redhat.com>
To: Gert Pellin <gert <at> gepe-biljarts.be>, 20277 <at> debbugs.gnu.org
Subject: Re: bug#20277: du wild card not working
Date: Tue, 07 Apr 2015 20:19:49 -0600
[Message part 1 (text/plain, inline)]
On 04/07/2015 02:42 PM, Gert Pellin wrote:
> On stack exchange someone reported a bug today, after manually updating
> du -sh * gives errors on all his computers. Is this a bug? On my system
> with coreutils 8.21 it is still working normally.

Not a bug, but a FAQ:
https://www.gnu.org/software/coreutils/faq/coreutils-faq.html#How-do-I-remove-files-that-start-with-a-dash_003f

Most likely, he is running the command in a directory that contains a
filename starting with a dash, and both 'du -sh -- *' and 'du -sh ./*'
serve to suppress treating that leading dash as an invalid option name.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 10 years and 47 days ago.

Previous Next


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