[plug] Open Soruce Software

Jim Householder nofixed at westnet.com.au
Sat Oct 14 22:24:45 WST 2006


Hi

We all place great value on Open Source, but how many of us take 
advantage of it?  It's main value to most would be that because it's 
open, if there is a problem or something sneaky going on, it can be 
discovered and/or fixed.

I've always found the output of du to be messy.  In the past I've used 
an emacs function to massage the output, but yesterday I decided to try 
changing du to work the way I wanted it to.  My version, based on 
coreutils-5.97-1.2, can display directory sizes right-justified in a 
fixed-width field (no tabs) and selectively output lines where the size 
is less than a maximum or greater than a minimum.

There is probably at least one (and probably more) way to do this 
already, but it was an interesting exercise.

As this was done for my own use, the code needs cleaning up a bit if 
anyone is interested.  I need to learn the 'proper' way of distributing 
changes...

Jim



More information about the plug mailing list