How to add percent symbol% ββto the end of the last line in a text file?
I do not want% to be on a new line, it should be at the end of the last line.
Thanks!
sed '${s/$/%/}' file