#!/bin/bash ############################################################################## # # to_clipboards # By Steven Saus # (c) 2020; licensed under the MIT license if [ "$#" -gt 0 ]; then # concatenated arguments fed via a pipe. MyData=$(printf %s "${@}") else MyData=$(