Does anyone know of a series of unix commands that allows someone to append some text to the end of a specific line in a file?
eg
Line 1
Line 2
Line 3
Line 4
I wish to append the text ", extra information" to Line 3 so that the File will now look like this:
Line 1
Line 2
Line 3, extra information
Line 4