Skip to content
Discussion options

You must be logged in to vote

Hi! If you really want to use unescaped values, add an exclamation mark ! to the variable: {{!clipboard}}. In case you want to read more about escaping, there's a small documentation page for it: https://publish.obsidian.md/shellcommands/Variables/Escaping+special+characters+in+variable+values

May I ask about what is the precise shell command where the escaping causes problems? I'm interested to learn use-cases that are new to me. Usually I'd say that unescaped values can be dangerous to use, but I don't know the situation here. The backslashes should be removed by the shell, at least if you don't wrap the {{clipboard}} variable in quotes (when your shell is Bash/Dash/Zsh. For PowerShell,…

Replies: 4 comments 18 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@wealthychef1
Comment options

@Taitava
Comment options

@wealthychef1
Comment options

@Taitava
Comment options

Answer selected by Taitava
Comment options

You must be logged in to vote
14 replies
@Taitava
Comment options

@wealthychef1
Comment options

@Taitava
Comment options

@wealthychef1
Comment options

@Taitava
Comment options

Comment options

You must be logged in to vote
0 replies
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