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