mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 13:53:52 +02:00
clip: add examples, fix typos (#3503)
This commit is contained in:
parent
974cafbef5
commit
254cf9f450
1 changed files with 9 additions and 1 deletions
|
@ -9,4 +9,12 @@
|
|||
|
||||
- Copy the contents of a file to the Windows clipboard:
|
||||
|
||||
`clip < {{path/to/file}}`
|
||||
`clip < {{path/to/file.ext}}`
|
||||
|
||||
- Copy text with a trailing newline to the Windows clipboard:
|
||||
|
||||
`echo {{some text}} | clip`
|
||||
|
||||
- Copy text without a trailing newline to the Windows clipboard:
|
||||
|
||||
`echo | set /p="some text" | clip`
|
||||
|
|
Loading…
Add table
Reference in a new issue