Sed howto

Gayn Winters gayn.winters at bristolsystems.com
Fri Oct 28 09:01:46 PDT 2005


> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org 
> [mailto:owner-freebsd-questions at freebsd.org] On Behalf Of 
> Bill Campbell
> Sent: Friday, October 28, 2005 8:38 AM
> To: freebsd-questions at freebsd.org
> Subject: Re: Sed howto
> 
> 
> On Fri, Oct 28, 2005, Kövesdán Gábor wrote:
> >Hello,
> >
> >I'm looking for a good sed howto that can be useful for 
> contributing to ports collection. Replacing text is I'm especially
interested in. 
> >Besides, could somebody explain me, when we use 
> USE_REINPLACE= YES and ${REINPLACE_CMD}, and when we use just ${SED}?
> 
> It isn't a HOWTO, but the best sed documentation I've ever 
> read is in the book ``Unix Text Processing'' by Dougherty and
O'Reilly.  I 
> think it's out of print, but you can download it in PDF format from
O'Reilly 
> for free.  It also has excellent documentation on quite a few other
*nix 
> utilities, and is one of those books that I think should be on every
*nix hackers
> bookshelf along with Kernighan and Pike's ``Unix Programming 
> Environment''.
> 
> Bill
> --

I concur.  The 20 pages on sed are probably part of what you want.  It
doesn't answer your "besides..." however.  Perhaps someone else can help
there.  Here's a link to O'Reilly:

 http://www.oreilly.com/openbook/utp/UnixTextProcessing.pdf

-gayn


Bristol Systems Inc.
714/532-6776
www.bristolsystems.com 




More information about the freebsd-questions mailing list