Saravana Kumar schreef:

> Since it is creating
> a new file i was wondering whether i can do the changes in the same
> file ie., read 1000 characters, do the replacement and write the
> output to the same file. This will reduce the disk space used(since
> the file i have is 100G).

Just change your specs and don't add the newline with every 1000
characters.

-- 
Affijn, Ruud

"Gewoon is een tijger."



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to