#! /bin/sh -e # Same as 'baz resolved', but also cleans up .orig and .rej files. baz resolved "$@" for file; do rm -f "$file.orig" "$file.rej" done