On Fri, Sep 30, 2005 at 01:25:13AM +0200, Abigail wrote: > > ea...@pulsar:~$ du -h \.* > > 4.0K ./Mail > > 12K ./.ssh > > 104K ./photos/test > > ... > > > > Whoa, hold on, "Mail" doesn't begin with a dot. Stop that. Okay, try > > again. Maybe I need to quote the dot, or something. > > Indeed, Mail doesn't start with a dot. But it doesn't list Mail, does it? > It lists "./Mail", as it's an entry in ".", which does match ".*".
I think that's the hatefulness here. du is "helpfully" prepending ./ to everything in the cwd, unlike pretty much every other program in the universe [1], making life difficult. [1] find comes immediately to mind, but find's interface isn't exactly a ringing endorsement of anything except more hate. -- Michael G Schwern schw...@pobox.com http://www.pobox.com/~schwern You know what the chain of command is? It's the chain I go get and beat you with 'til you understand who's in ruttin' command here. -- Jayne Cobb, "Firefly"