the_pusher_robot:
Basically Iam reading a bunch of lines from a file.
One of the line looks like:
cdsadmin -t -O :c:\data";
I want to make a copy of this line, then change the the "-t" to "-d" in the copy.
I then want to add this new line(copy) back to the file.
The file now contains the original lines plus the new one.