#!/bin/sh redo-ifchange a b read a &2 else echo 'PASS: a > c' >&2 fi if [ $b -lt $c ]; then echo 'FAIL: b < c' >&2 else echo 'PASS: b > c' >&2 fi