mirror of https://github.com/CrimsonTome/tldr.git
minor fixes to xsel, as discussed in #882
parent
fac92c4aa1
commit
a47218cfca
|
@ -17,11 +17,11 @@
|
||||||
|
|
||||||
- Copy output of a command into the clipboard:
|
- Copy output of a command into the clipboard:
|
||||||
|
|
||||||
`echo 123 | xclip -bi`
|
`echo 123 | xsel -bi`
|
||||||
|
|
||||||
- Copy contents of a file into the clipboard:
|
- Copy contents of a file into the clipboard:
|
||||||
|
|
||||||
`cat {{file}} | xsel -bo`
|
`cat {{file}} | xsel -bi`
|
||||||
|
|
||||||
- Print the clipboard to STDOUT:
|
- Print the clipboard to STDOUT:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue