xclip to copy the contents of the clipboard and pipe them to another application. However, if the last line that was copied doesn't have an end of line character, it doesn't show in the application.
Question: Is there a way to add an end of line/newline at the end of clipboard contents before piping the value across?
The following gif shows the behavior of (1) first copying without going to the end of the line and (2) second copying with going to the end of the line, and how the result is different in the terminal. Notice the relationship between what was copied and the prompt.
The application that I'm using which makes use of
xclip would not read anything in with the first option, and would read the line correctly with the second option.
A little bit more information here...