How to make xclip strip newline from the output piped to it?
echo -n “string” | xclip -selection clipboard I should probably have elaborated a bit. The default for echo is to output the string AND a newline. -n suppreses the latter.
echo -n “string” | xclip -selection clipboard I should probably have elaborated a bit. The default for echo is to output the string AND a newline. -n suppreses the latter.
echo -n “string” | xclip -selection clipboard I should probably have elaborated a bit. The default for echo is to output the string AND a newline. -n suppreses the latter.