in reply to Fastest way of changing the beginning of a txt file..
In general, OSes don't allow you to truncate the start (as opposed to end) of a file. So you have to create a new file and copy lines N onwards to it from the old file
Dave.
|
---|
In Section
Seekers of Perl Wisdom