I need to add some words at the end of each line of a text file. How can I do this with a Bash script?
Example: add the word done
at the end of each line:
line1 abcdefg done
line2 abcdefg done
line3 abcdeft done
See Question&Answers more detail:os