1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-04 22:15:42 +02:00

wl-copy: page update (#7901)

This commit is contained in:
Emily Grace Seville 2022-03-20 06:16:52 +10:00 committed by GitHub
parent 97e49ad1d4
commit 3202852b03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,17 +4,17 @@
> See also: `wl-paste`.
> More information: <https://github.com/bugaevc/wl-clipboard>.
- Copy text to the clipboard:
- Copy the text to the clipboard:
`wl-copy {{text}}`
`wl-copy "{{text}}"`
- Copy the output of a command to the clipboard:
- Pipe the command (`ls`) output to the clipboard:
`{{command}} | wl-copy`
`{{ls}} | wl-copy`
- Copy for only one paste and then clear it:
`wl-copy --paste-once`
`wl-copy --paste-once "{{text}}"`
- Clear the clipboard: