Rejected idea: escape sequence to copy text

From razwiki
Revision as of 16:49, 11 November 2022 by 172.69.68.214 (talk)
Jump to navigation Jump to search

For example

hostname -f

Which currently writes something like:

$ hostname -f
data-catalog-evaluation.analytics.eqiad1.wikimedia.cloud

Could produce output like:

^[[Cdata-catalog-evaluation.analytics.eqiad1.wikimedia.cloud^[[D

Meaning "output this and copy it to the terminal host clipboard"

Update: nah just pipe the output to stdout and copy it ... don't want arbitrary output to be able to do stuff like that. Having a file with a beep is annoying enough