stumped... .
    Gary Kline 
    kline at thought.org
       
    Sat Jan 17 21:06:55 PST 2004
    
    
  
On Sun, Jan 18, 2004 at 02:48:42PM +1100, Gautam Gopalakrishnan wrote:
> On Sat, Jan 17, 2004 at 07:09:12PM -0800, Gary Kline wrote:
> > 
> > 	I've written scores of scripts to hack text files, but this
> > 	one has me dead in the water.
> > 
> > 	How can I delete all lines from /^PATTERN to EOF??
> > 
> 
> sed -e '/pattern/,$d'
> 
	Yep.  Thisis what i used, in fact.  thanks.
	gary
> 
-- 
   Gary Kline     kline at thought.org   www.thought.org     Public service Unix
    
    
More information about the freebsd-questions
mailing list