3 3c282790 2004-04-21 devnull # run B but then wait for the file to change.
4 3c282790 2004-04-21 devnull # great to set as $EDITOR.
5 3c282790 2004-04-21 devnull # the notion of a file changing is a little weak.
7 3c282790 2004-04-21 devnull stat=`ls -l $1`
9 3c282790 2004-04-21 devnull while sleep 1
11 3c282790 2004-04-21 devnull nstat=`ls -l $1`
12 3c282790 2004-04-21 devnull if [ "x$stat" != "x$nstat" ]