On Sat, Jan 17, 2004 at 10:37:00PM -0500, Matt Emmerton wrote: > If I'm understanding your question correctly, this Perl script should do it. > > #!/bin/perl > > while (<>) > { > if (/^PATTERN/) { last; } > print $_; > } > this does fit into a trivial sh script. thanks. -- Gary Kline kline at thought.org www.thought.org Public service Unix