grep, etc

Jay R. Ashworth jra at baylink.com
Tue Aug 17 21:27:21 PDT 2004


On Tue, Aug 17, 2004 at 09:43:11PM -0400, Bill Vermillion wrote:
> On Sat, Aug 14 00:55 , Men gasped, women fainted, and small children 
> were reduced to tears as Jay R. Ashworth confessed to all:" 
> > On Wed, Aug 11, 2004 at 04:26:03PM -0400, Bob Stockler wrote:
> > > Yes.
> > > 
> > >   awk '
> > >   {
> > >     if ( $NF = "-213" ) { OK++ ; print ; next }
> > >     if ( $NF = "-216" ) { print ; exit }
> > >     if ( OK ) print
> > >   }' filename
> 
> > You're always *so* awkward, Bob. 
> 
> Well sed Jay.

But, really, what's the diff either way?

Cheers,
-- jra
-- 
Jay R. Ashworth                                                jra at baylink.com
Designer                          Baylink                             RFC 2100
Ashworth & Associates        The Things I Think                        '87 e24
St Petersburg FL USA      http://baylink.pitas.com             +1 727 647 1274

	"You know: I'm a fan of photosynthesis as much as the next guy,
	but if God merely wanted us to smell the flowers, he wouldn't 
	have invented a 3GHz microprocessor and a 3D graphics board."
					-- Luke Girardi


More information about the Filepro-list mailing list