GNU bug report logs - #6582
minor issue with du command

Previous Next

Package: coreutils;

Reported by: Warren L Dodge <warrend <at> Tektronix.com>

Date: Wed, 7 Jul 2010 22:46:01 UTC

Severity: normal

Done: Bob Proulx <bob <at> proulx.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Warren L Dodge <warrend <at> Tektronix.com>
To: 6582 <at> debbugs.gnu.org
Subject: bug#6582: minor issue with du command
Date: Wed, 7 Jul 2010 15:15:05 -0700
I did a du -s * .??* in my /tmp directory and got this

du: invalid option -- 1
du: invalid option -- 2
du: invalid option -- 3

It turns out I had a directory named of all things "-123"

I tried du -s /dev/null * .??* witht e same results.

It seems like there would be a way to

stop processing switches. But it looks like even if I put -123 as the
last file of 30 others it still processes it as a switch.

No big deal since this doesn't happen to much (I assume).






This bug report was last modified 14 years and 319 days ago.

Previous Next


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