Skip to content

How to allow \ characters to be copied #2916

Answered by hluk
Kommynct asked this question in Q&A
Discussion options

You must be logged in to vote

CopyQ handles escape sequences in arguments (for example, \n would be translated to a line break), unless you put the arguments after --. So the first command would be copyq copy -- "$(xclip -o)".

But a better solution is to pass data to the standard input (as with xclip):

xclip -o | copyq copy -

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Kommynct
Comment options

Answer selected by Kommynct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants