4 SCRIPTNAME
=termux-clipboard-set
6 echo "Usage: $SCRIPTNAME <text>"
7 echo "Set the system clipboard text."
9 echo "If no arguments are given the text to set is read from stdin,"
10 echo "otherwise all arguments given are used as the text to set."
14 while getopts :h option
18 ?
) echo "$SCRIPTNAME: illegal option -$OPTARG"; exit 1;
23 CMD
="@TERMUX_API@ Clipboard -e api_version 2 --ez set true"