オプション
- -o / -out
- print the selection to standard out (generally for piping to a file or program)
- -r / -rmlastnl
- when the last character of the selection is a newline character, remove it.
- --selection [ s | c ]
- 格納先をセカンダリ、クリップボードに変更
$ ls | xclip $ xclip test.txt