Blob


1 #!/bin/sh
3 # run B but then wait for the file to change.
4 # great to set as $EDITOR.
5 # the notion of a file changing is a little weak.
7 stat=`ls -l $1`
8 B "$@"
9 while true
10 do
11 nstat=`ls -l $1`
12 if [ "x$stat" != "x$nstat" ]
13 then
14 exit
15 fi
16 done