I want to read-in a textfile (input) line by line, and if any line matches a value contained in a seperate textfile (reference) that line in the input is changed to the value that occurs 5 lines after it in the input.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.