#!/bin/bash # mainly for use in steam (backtrace-run %command%) unbuffer backtrace "$@" |& tee $(mktemp ~/backtrace-XXXX)