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 [EMAIL PROTECTED] www.thought.org Public service Unix _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"