clip: add examples, fix typos (#3503)
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
974cafbef5
commit
254cf9f450
@@ -9,4 +9,12 @@
|
|||||||
|
|
||||||
- Copy the contents of a file to the Windows clipboard:
|
- 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`
|
||||||
|
Reference in New Issue
Block a user