Hi,
I have a file like file1.txt. It contain more than 1000 lines. My requirement is to perform the modification in 15th line of file1.txt.
But i know the code like to read the all lines form file1.txt and performing the modification in 15 th line and store the modification content in another file like fil2.txt. My requirement is just perform the modification only one word in 15th line, but the above logic take so much time to read and write the content .
Please share is there any another bettor logic to change the content in file ?