Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Dec 2008 21:34:10 -0800
From:      Gary Kline <kline@thought.org>
To:        FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG>
Subject:   Sed question
Message-ID:  <20081221053407.GA87868@thought.org>

next in thread | raw e-mail | index | archive | help
	how can i delete, say, lines 8,9,and 10 from 200 files
	using sed?  Is it

	sed '8,10d'< file> newfile
	or is there a better way?

	tia,

	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?20081221053407.GA87868>