Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Dec 2008 11:31:14 -0800
From:      Gary Kline <kline@thought.org>
To:        FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG>
Subject:   well, blew it... sed or perl q again.
Message-ID:  <20081230193111.GA32641@thought.org>

next in thread | raw e-mail | index | archive | help
	Guys,

	Someone send a sed website that i thought i had bookmarked on
	firefox3.  I don't see it in history; it is not b'marked.
	This question may not be do-able in sed, I don't know.
	BEen searching around for over an hour and a half; have tried
	things that have failed in my /tmp/test directory; time to
	ask the list.

	The problem is that there are many, _many_ embedded 
	"<A HREF="http://whatever>; Site</A> in my hundreds, or
	thousands, or files.  I only want to delete the
	"http://<junkfoo.com>" lines, _not_ the other Href links.

	Which would be best to use, given that a backup is critical?
	sed or perl?

	tia, as always, 

	gary



-- 
 Gary Kline  kline@thought.org  http://www.thought.org  Public Service Unix
        http://jottings.thought.org   http://transfinite.thought.org
    The 2.17a release of Jottings: http://jottings.thought.org/index.php




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