Commit Diff


commit - f21f37f219965af3980ba50bac429658d19615d1
commit + 3c2827901d9b965b3e0716e5e7284fdcd6ce7760
blob - 004296094812801a09fd9b84ce2b321adae31eff (mode 755)
blob + /dev/null
--- bin/Bwait
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-# run B but then wait for the file to change.
-# great to set as $EDITOR.
-# the notion of a file changing is a little weak.
-
-stat=`ls -l $1`
-B "$@"
-while true
-do
-	nstat=`ls -l $1`
-	if [ "x$stat" != "x$nstat" ]
-	then
-		exit
-	fi
-done
-
blob - /dev/null
blob + 80a22eccb7b0fb020622f3f7cf6657b1ab404185 (mode 755)
--- /dev/null
+++ bin/E
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+# run B but then wait for the file to change.
+# great to set as $EDITOR.
+# the notion of a file changing is a little weak.
+
+stat=`ls -l $1`
+B "$@"
+while sleep 1
+do
+	nstat=`ls -l $1`
+	if [ "x$stat" != "x$nstat" ]
+	then
+		exit
+	fi
+done
+