help in deletion part of a line

Gary Kline kline at tao.thought.org
Mon Oct 22 15:42:00 PDT 2007


	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 at thought.org   www.thought.org  Public Service Unix
      http://jottings.thought.org   http://transfinite.thought.org



More information about the freebsd-questions mailing list