First of all I would like to tell you that I am totally new to UNIX so kindly explain me in detail if possible.
I have a file, which has multiple rows. I want to read the file till I reach the end of 1st row and append a text in that row.
Then I want to read 2nd line and do the same [Append the same text] to the 2nd line's end.
and so on till I reach the end of the file.
The text which I want to append has been inputted by the user.