# function that prints its arguments
# and then calls them as a command, e.g. `print_and_run sleep 5`.
print_and_run() {
  echo "+ $*"
  "$@"
}
