stumped... .

Gary Kline kline at thought.org
Sun Jan 18 13:19:55 PST 2004


On Sun, Jan 18, 2004 at 04:19:04AM -0800, Lee Mx wrote:
> 
> >> > On Sat, 17 Jan 2004, Gary Kline wrote:
> >> >
> >> > >
> >> Wouldn't it be neater to do
> >>
> >>   nawk '/^PATTERN/ { exit } ; { print }'
> 
> Couldn't sed '/^PATTERN/,$d' < foo > bar be a bit faster?
> 

	This is what I scripted in /bin/sh with my 79 files.

	:-X

	gary

-- 
   Gary Kline     kline at thought.org   www.thought.org     Public service Unix



More information about the freebsd-questions mailing list