#!/bin/bash cd "$( dirname "$0" )" while [ $# -gt 0 ]; do case "$1" in "--auto") AUTO=1;; *) COMP="$1";; esac shift done clear cat <&1 | tee /tmp/log set +x