Hi
I am appending the data to a file . I want this to happen from a newline everytime the script is run.For eg.
the file1.txt contains
A quickcfsgggdra ertge
Brown fox s;ofj;ekf;okfo
jumped sldkfhlrigje
Now I want to append the follwoing data from file2.txt
over the lazy dog
now file1.txt should look like
A quickcfsgggdra ertge
Brown fox s;ofj;ekf;okfo
jumped sldkfhlrigje
over the lazy dog
Please suggest the code!
I am appending the data to a file . I want this to happen from a newline everytime the script is run.For eg.
the file1.txt contains
A quickcfsgggdra ertge
Brown fox s;ofj;ekf;okfo
jumped sldkfhlrigje
Now I want to append the follwoing data from file2.txt
over the lazy dog
now file1.txt should look like
A quickcfsgggdra ertge
Brown fox s;ofj;ekf;okfo
jumped sldkfhlrigje
over the lazy dog
Please suggest the code!
Comment