Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2005 08:37:31 -0700
From:      Bill Campbell <freebsd@celestial.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Sed howto
Message-ID:  <20051028153731.GA17232@alexis.mi.celestial.com>
In-Reply-To: <4362409D.400@t-hosting.hu>
References:  <4362409D.400@t-hosting.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051028153731.GA17232>