patsh is a command-line tool for patching shell scripts inspired by resholve.