#!/bin/bash INTERPRETER_UNDER_TEST="$1" if [[ ! -x "${INTERPRETER_UNDER_TEST}" ]]; then echo "Interpreter must be the command line argument." exit 4 fi EXECUTABLE="$0" exec "${INTERPRETER_UNDER_TEST}" -E - <