[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, 8 May 2006, wwp wrote:

> Hello carlosreimer terra com br,
>
>
> On Mon, 8 May 2006 10:01:55 -0300 <carlosreimer terra com br> wrote:
> > How can I see the content of lines 453555 to 453590 of a big text file?

> An ugly idea came to my mind:
> $ tail -n 453555 /my/big/text/file | head -n $((453555-453590))

sed -n  -e 453555,453590p -e 453591q  /my/big/text/file
should do the trick about as efficiently as it can be done.

-- 
Mike   hennebry web cs ndsu NoDak edu
"Demons after money?
Whatever happened to the still-beating heart of a virgin?
No one has any standards any more."                    --  Rupert Giles


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