Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2005 09:01:28 -0700
From:      "Gayn Winters" <gayn.winters@bristolsystems.com>
To:        <freebsd@celestial.com>, <freebsd-questions@freebsd.org>
Subject:   RE: Sed howto
Message-ID:  <08af01c5dbd8$de629a30$c901a8c0@workdog>
In-Reply-To: <20051028153731.GA17232@alexis.mi.celestial.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org=20
> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of=20
> Bill Campbell
> Sent: Friday, October 28, 2005 8:38 AM
> To: freebsd-questions@freebsd.org
> Subject: Re: Sed howto
>=20
>=20
> On Fri, Oct 28, 2005, K=F6vesd=E1n G=E1bor wrote:
> >Hello,
> >
> >I'm looking for a good sed howto that can be useful for=20
> contributing to ports collection. Replacing text is I'm especially
interested in.=20
> >Besides, could somebody explain me, when we use=20
> USE_REINPLACE=3D YES and ${REINPLACE_CMD}, and when we use just =
${SED}?
>=20
> It isn't a HOWTO, but the best sed documentation I've ever=20
> read is in the book ``Unix Text Processing'' by Dougherty and
O'Reilly.  I=20
> think it's out of print, but you can download it in PDF format from
O'Reilly=20
> for free.  It also has excellent documentation on quite a few other
*nix=20
> 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=20
> Environment''.
>=20
> 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=20





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?08af01c5dbd8$de629a30$c901a8c0>