#!/bin/bash PD=~/bin/pd.$HOSTNAME [ -x $PD ] && exec $PD "$@" PD=/usr/bin/pd echo No host specific setup, running: "$PD" "$@" exec "$PD" "$@"