#!/bin/rc switch($#*){ case 1 /bin/rm `{/bin/du -a $1 | /bin/awk '{print $2}'} case * /bin/echo 'usage: rmdir dir' >[1=2] }