# runs a command and saves its output into $output.
# useful if you need the return value AND want to use the output in a pipe
try() {
  output=$(eval '"$@"')
  dump
}
# alias try='try '
# writes the output of the previously used "try" command
dump() { /usr/bin/printf '%b\n' "${output}"; }
