1 2 3 4 5 6
#!/usr/bin/env sh g++ file.cpp || exit 1 ./a.out < test.txt xclip -selection c < file.cpp