changeset 406:763712cce21f

Tweak --fork display to show package being built.
author Rob Landley <rob@landley.net>
date Wed, 08 Oct 2008 01:10:12 -0500
parents b15809a0af09
children e64eb9ff27b9
files forkbomb.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/forkbomb.sh	Wed Oct 08 00:01:21 2008 -0500
+++ b/forkbomb.sh	Wed Oct 08 01:10:12 2008 -0500
@@ -128,5 +128,5 @@
 
 if [ "$1" != "--nofork" ]
 then
-  watch -n 3 'X=; for i in out-*.txt; do /bin/echo -e "$X$i"; X="\n"; tail -n 1 $i; done'
+  watch -n 3 'X=; for i in out-*.txt; do /bin/echo -ne "$X"; X="\n"; grep -H === $i | tail -n 1; tail -n 1 $i; done'
 fi