#!/usr/bin/env bash if [[ $# -ge 1 ]]; then if [[ $1 = c ]]; then xsel -bo | ./9pre | ./9 elif [[ $1 = - ]]; then ./9pre | ./9 else echo >&2 "What are you even doing with your command line params" ./9pre <9.in | ./9 fi else ./9pre <9.in | ./9 fi