> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Bill Campbell > Sent: Friday, October 28, 2005 8:38 AM > To: freebsd-questions@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 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"