Hi

I wanted to append some line in between a text file. So what I tried is with 
the seek command I tried moving the pointer and then do appeding, but for some 
reason it was not getting appended. 

I know there are ways to  make this task possible. I am afraid abot the memory 
consumption so I haven;t used it.

Say I have a text file

Java
Oracle
Visual basic

I wanted to insert PERL after Oracle...So now the file should be

Java
Oracle
PERL
Visual basic

I did with array. ie first copying the file into array and then doing.

is there any alternate way

Anish

Reply via email to