Created
June 11, 2018 00:40
-
-
Save kentarosasaki/ac379f07c487e20f0dcf78869ce4a5fc to your computer and use it in GitHub Desktop.
(macOS限定) CLIの出力結果をクリップボードにコピーする ref: https://qiita.com/kentarosasaki/items/22ecf583774561ac239d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ echo "aaa" | |
aaa | |
$ echo "aaa" | pbcopy | |
$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ echo "bbb" | pbcopy | |
$ pbpaste | |
bbb | |
$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment