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

Michael H. Warfield mhw at WittsEnd.com
Mon May 8 14:15:10 UTC 2006


On Mon, 2006-05-08 at 10:01 -0300, carlosreimer at 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 at 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!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060508/35206e58/attachment-0001.sig>


More information about the fedora-list mailing list