I made a small Software offering identical operation, without having employing xclip or xsel. stdout is copied to some clipboard and may be pasted yet again in the terminal. See: I've produced a tool for Linux/OS X/Cygwin that is similar to some of these Many others, but a bit exclusive. https://petskyonline-onlinestrore.blogspot.com/2025/07/how-to-choose-and-maintain-perfect-dog.html