#!/bin/sh if [ -n "$1" ]; then cat "$@" | /usr/bin/pbcopy else /usr/bin/pbcopy fi