#!/bin/rc fn marked{ awk '{print $5}' /mnt/acme/$i/ctl if(~ `{marked $i} 1) exit } } mk $*