On Wed, Jan 17, 2001 at 10:05:09AM -0500, Anthony R. J. Ball wrote:
> 
>   I can't for the life of me think how to do this... I
> think I knew once...
> 
>   I have a large file that I want to strip an specified
> number of bytes off the end of... I figure I want to
> seek back that many bytes from the end and put in an
> eof... but I can't think of how to do this now...
> 
>   I mean, I can seek it, but how do I put in an eof there,
> or cut off the file another way. (for all I know there 
> is a command line command to do it).

perldoc -f truncate


Ronald

Reply via email to