if `du -x` is given a bunch of dirs and files in the same directory, then it 
fails to descend into the subdirs ... for exampe:
$ mkdir foo
$ cd foo
$ echo somestring > file
$ mkdir emptydir nonemptydir
$ cp file nonemptydir/

[these work]
$ du
8       ./nonemptydir
4       ./emptydir
20      .
$ du *
4       emptydir
4       file
8       nonemptydir
$ du -x
8       ./nonemptydir
4       ./emptydir
20      .

[this fails]
$ du -x *
4       emptydir
4       file
4       nonemptydir


tried with coreutils-6.6 and latest cvs ... coreutils-5.94 seems to work OK 
though ...
-mike

Attachment: pgp2ctATOV4sS.pgp
Description: PGP signature

_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to