diff --git a/urchin b/urchin index e23ceeb..fc6ed36 100755 --- a/urchin +++ b/urchin @@ -9,8 +9,15 @@ set -e -logfile=$(mktemp) -> $logfile +# Parse output +log=$(mktemp -u) +mkfifo "$log" +print_log() { + while read line; do + case "$line" in + esac + done +} # Make sure that CDPATH isn't set, as it causes `cd` to behave unpredictably - # notably, it can produce output.