#!/bin/sh redo-ifchange a.do redo-ifchange a sleep 1 read a &2 else echo 'FAIL: a > now' >&2 fi