Remove x number of lines from beginning of file

Dave Smith dave at thesmithfam.org
Thu Oct 25 16:42:32 MDT 2007


Jon Gale wrote:
> Is there a better way to do this that won't necessitate scanning the entire
> file just to remove the first x number of lines?
>   

I imagine such an answer would be file system dependent. Theoretically, 
a file system could accomplish this, but I don't think ext3 can. Such a 
file system would need the ability to point *into* blocks rather than 
just pointing at the start of each block.

--Dave



More information about the PLUG mailing list