In article <4524 at vdsvax.steinmetz.ge.com> barnett at steinmetz.ge.com (Bruce G. Barnett) writes: >There have been times when I wanted a grep that would print out the >first occurrence and then stop. sed -n -e "/<pattern>/ { p" -e q -e "}"