Sed howto

Bill Campbell freebsd at celestial.com
Fri Oct 28 08:37:33 PDT 2005


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
--
INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Systems, Inc.
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

Foreign aid might be defined as a transfer from poor people in rich
countries to rich people in poor countries -- Douglas Casey


More information about the freebsd-questions mailing list