#!/bin/sh sleepsec=10 if [ $# == 1 ]; then sleepsec=$1 fi sleep $sleepsec pbcopy < /dev/null