#! /bin/sh -ex ./update PATHS ./report >PATHS.new if cmp -s PATHS.new PATHS; then rm PATHS.new else mv PATHS.new PATHS; fi