#!/bin/sh # clip - A simple script for clipboard management if [ -t 0 ]; then xclip -selection clipboard -o else xclip -selection clipboard fi