I finally got sick of the horrible bullshit people have the gall to put into CDDB and FreeDB, so I wrote this:
#!/bin/sh
# copyright 2006, gr@eclipsed.net
# no warranty expressed or implied, use/modify/redistribute as you like
sudo=''
if [ `id | awk -F\( '{ print $1 }' | awk -F= '{ print $2 }'` -ne 0 ]; then
sudo=”sudo ”
fi
force=0
passargs=''
# [...]