# Send all output to a logfile and supress input typeset LOG="/tmp/${0##*/}.out" mv $LOG ${LOG}.old >/dev/null 2>&1 [[ -t 1 ]] && echo "Writing to logfile '$LOG'." exec > $LOG 2>&1 exec < /dev/null 2<&1
A piggy bank of commands, fixes, succinct reviews, some mini articles and technical opinions from a (mostly) Perl developer.