thanks for the response. I was Looking for awk to do some of the parsing like this: /sbin/ipfw list | grep '%IP%' | awk '{ print "ipfw -q delete " $1 }' | sh cheers, Noah