I need to add string after a word in a specific line of a text file. The original file is:
line 1: value1
line 2: value2
line 3: value3
line 4: value4
line 5: value5
For example, I want to add "NAME" in the line number 3 just after "line" so the file would become:
line 1: value1
line 2: value2
line NAME 3: value3
line 4: value4
line 5: value5
How would you do it?