At 2004-08-08T10:56:05+1200, Volker Kuhlmann wrote:
> There's a truncate functions which chops off the end of a file. Is
> there something equivalent for chopping off the beginning of a file?
No. There's no easy or portable way to do this.
> That is, the middle bit of the file would remain undisturbed on disk.
> I'm not after the obvious and trivial solution of copying the middle
> bit to a new file.
If you're dead set against copying the file, use a pipe.
Cheers,
-mjg
--
Matthew Gregan |/
/| [EMAIL PROTECTED]