#! /bin/sh # Use first installed binary for bin in /opt/*/bin/$1; do if [ -x $bin ]; then exec $bin fi done cat < $1

$1

No $1 binary installed!

EOD