It was when I tried to copy and paste the file contents in the Docker container I am using now.
On Mac, you can copy and paste the file contents with pbcopy
.
$ pbcopy < helloworld.txt
// pbcopy <The file you want to copy
For Ubuntu, use xsel
.
$ apt-get -y install xsel
$ xsel -b < helloworld.cpp
// xsel -b <The file you want to copy
Recommended Posts