I have the following 2 lines in a file:
Another sample line.
I want to first read in the first line (i.e. password) and write it to a file. Then I want to go back and read the second line and write only that second line to a file.
How can I do this?
How can each line be interpreted separately?