See -i
In reply to Re: HELP!! urgent!writing contents toa specific line in an existing file by Joost in thread HELP!! urgent!writing contents toa specific line in an existing file by compskian