Index: trunk/tools/eam/rebalance/rebalance.mana
===================================================================
--- trunk/tools/eam/rebalance/rebalance.mana	(revision 42314)
+++ trunk/tools/eam/rebalance/rebalance.mana	(revision 42606)
@@ -163,5 +163,10 @@
 
 #   list files -x "/bin/ls -l `cat $filelist` | sort -k 5nr"
-    list files -x "./neb_make_movelist.sh $filelist"
+
+#   this shell script returned the output of ls -l (filesize = word[4], filename = word[8])
+#   list files -x "./neb_make_movelist.sh $filelist"
+
+#   this perl script returns the filename and size only
+    list files -x "./neb_make_movelist.pl $filelist"
 
     # generate subset list to match goal size
@@ -170,6 +175,9 @@
     while (($Ntotal < $NremoveSub) && ($j < $files:n))
       list word -split $files:$j
-      $keep:$j = $word:8
-      $Ntotal += $word:4
+#     $keep:$j = $word:8
+#     $Ntotal += $word:4
+      $keep:$j = $word:0
+      $Ntotal += $word:1
+
       # echo $word:4 $Ntotal : $NremoveSub $keep:$j
       $j ++
