Written March 1, 2007. Tagged OS X.
Sometimes I find myself writing scripts in contexts where you can't easily debug just by printing to STDOUT.
Rather than messing with a log file that you then have to look for/open (I often touch /tmp/wood
), this (suggested by Johan) works if you've got Growl with growlnotify. Drop into a shell and:
growlnotify -m 'Still executing!'