$put_perv_real = "/home/www/dvakompa-ru/dopol/"; ?>
утилита, позволяет работать с буфером обмена в консоли
https://github.com/yaa110/cb
Command line interface to manage clipboard
you can download a pre-compiled executable, then you should copy that executable to /usr/bin
or add it to your $PATH
env. Do not forget to chmod +x cb
.
Users of Arch Linux can install package from AUR:
curl -sSf https://sh.rustup.rs | sh
xorg-dev
and build-essential
make && sudo make install
cb -t "Text to be copied"
cb -p
cat file | cb
Usage: cb [OPTIONS]Optional arguments: -h, --help Prints the help message -V, --version Prints the version -p, --paste Pastes the content of clipboard -c, --clear Clears the content of clipboard -s, --server Starts server as a daemon -r, --raw Do not print newline after pasting the content -t, --text TEXT Store TEXT into clipboard