Kyle R . Burton on Sun, 3 Feb 2002 21:20:16 +0100


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

[PLUG] not head, not tail, but what?


Is there a standard utility out there that can print out all the lines
from a file except the first n?

Head can get you the first n, tail can get you the last n.  Is there
something that can get you m-n?

Is there an easy way to do this?  To just chop off the first n lines
from a file?  It would be nice to do this without having to count the
number of lines in the file first.

I know this kind of utility would be easy to write, but it feels like
it should already exist...


Thanks,
Kyle

-- 

------------------------------------------------------------------------------
Wisdom and Compassion are inseparable.
        -- Christmas Humphreys
mortis@voicenet.com                            http://www.voicenet.com/~mortis
------------------------------------------------------------------------------

______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug