chrissimpkins/glue

Piping the clipboard through STDIN

ssimeonov opened this issue · 0 comments

Is there a reliable way to pipe the contents of the clipboard to a shell command? echo {{clipboard}} | cmd doesn't work because the clipboard is not shell-escaped. There are many example use cases for this, e.g., calculating statistics for the text, transforming it in some way, etc.