#!/bin/sh -eu # When invoked, redo-ood must output targets for which a dependency # changed. >all.do printf 'redo-ifchange a ' >a.do cat <b printf '1 ' redo b printf '2 '