stumped... .

Gary Kline kline at thought.org
Sat Jan 17 21:04:56 PST 2004


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



More information about the freebsd-questions mailing list