Date: Mon, 22 Oct 2007 15:41:40 -0700 From: Gary Kline <kline@tao.thought.org> To: FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG> Subject: help in deletion part of a line Message-ID: <20071022224140.GA7786@thought.org>
index | next in thread | raw e-mail
Is there an easier way by sed or ed to remove strings
(caight by grep) of the sort:
part5.chapter2.text-
where "5" and "2" can be any integer below 10?
(I know how to delete the *entire* line using ed, but not just
the first part?
thanks,
gary
--
Gary Kline kline@thought.org www.thought.org Public Service Unix
http://jottings.thought.org http://transfinite.thought.org
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071022224140.GA7786>
