clip: add examples, fix typos (#3503)

This commit is contained in:
NNRepos 2019-10-31 19:36:53 +02:00 committed by Starbeamrainbowlabs
parent 974cafbef5
commit 254cf9f450

View File

@ -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`