changeset 199:4d55eff218e9

Cosmetic fixes.
author Rob Landley <rob@landley.net>
date Mon, 13 Aug 2007 16:20:02 -0500
parents 77dfe348925c
children 8d9bab8fcb3a
files sources/toys/miniconfig.sh
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/sources/toys/miniconfig.sh	Mon Aug 13 16:10:24 2007 -0500
+++ b/sources/toys/miniconfig.sh	Mon Aug 13 16:20:02 2007 -0500
@@ -41,7 +41,7 @@
 do
   if [ $I -gt $LENGTH ]
   then
-    exit
+    break
   fi
   sed -n "${I}!p" mini.config > .config.test
   # Do a config with this file
@@ -55,8 +55,7 @@
   else
     I=$[$I + 1]
   fi
-  echo -n -e $I/$LENGTH lines `cat mini.config | wc -c` bytes "\r"
+  echo -n -e "\r$[$I-1]/$LENGTH lines $(cat mini.config | wc -c) bytes   "
 done
 rm .big.config
 echo
-echo