[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How can I see content of lines 453555 until 453590 of text file?



On Mon, 2006-05-08 at 10:01 -0300, carlosreimer terra com br wrote:
> Hello,

> How can I see the content of lines 453555 to 453590 of a big text file? 

	sed -e '453555,453590!d' {bigfile}

	Literally - everything from record "453555" to "453590" don't (!)
delete (d) (IOW delete everything that's not in that range) and print to
output.

> Thanks in advance!

	Mike
-- 
Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw WittsEnd com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471        | possible worlds.  A pessimist is sure of it!

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]