Yes, yes. I know, you hate using the command line. I’ve already received email requests for a “front end” to my port of xmame to MacOS X, and I haven’t even mentioned it other than to three OS X using friends!
Sadly, most “front ends” utilities are not open source, or tied to third-party GUI widge...
You’ve probably wanted ‘du’ to print in a tree formation at some point to make it easier to comprehend… right? Right? Well, I know I have!
Here’s my pretty little zsh alias: pdu () {du $1 | sort +1 -2 | expand | awk -F/ ‘{for (i = 0; i < NF; ++i) printf “ “; print; }’ }
What’s it do? Simple!
...It’s quick, it’s dirty, and it’s ugly. Works for me, though.
#include int main() { int c; while(1) { c=getchar(); if (c==EOF) exit(1); if (c != ‘<’) putchar©; else while (c != ‘>’) { c=getchar(); if (c==EOF) exit(1); } } exit 0; }
I’m tired! I’ve been pretty busy recently, getting everything up to date, and with the release of xmame-sdl, I think I can finally take a bit of time off to do less-geeky things with the few precious hours left this weekend. Still, it’s been nice to see how easy it is to get back into the swing...
I’ve incorporated my prior release of MikMod 3.1.6a with various patches in the MikMod 3.1.6-7 tagged debian diff; I’ve cleaned things up, making them a bit more BSD/Mach friendly, linked libmikmod-3.10r2 back against CoreAudio, and we’ve got a more resilient module player for the console once again...