Shell Scripting

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.

Kindly help me.

Mr. Pandey

Duplicate Post . Continue here

http://www.unix.com/unix-dummies-questions-answers/161850-shell-scripting.html\#post302532148

we are here to help you. Not to write the entire code for you.

If you really want the full code or something, then first search in unix.com

Google Search Results for append last + sed | The UNIX and Linux Forums

---------- Post updated at 02:24 PM ---------- Previous update was at 02:21 PM ----------

Please read the points # 4 and 5