#!/bin/bash # check for the -t (testing) argument ECHO=/usr/bin/echo TESTING=false EXECUTER=exec if [ "$1" = "-t" ]; then $ECHO "testing" TESTING=true EXECUTER=$ECHO fi ($EXECUTER touch /tmp/blkjaalkjsf) ($EXECUTER $ECHO printing 1...2...3) $ECHO this command always gets executed as coded ~