#!/bin/csh -f
#
# significant-all - run 'significant' on each config directory
#     'improve' must have been run on the config directories first
#   only 'general' directories should be listed
set usage='usage: significant-all [config]...'
#
# Part of
#              The STARFISH Parallel file-system simulator
#        (Simulation Tool for Advanced Research in File Systems)
# 
#                               David Kotz
#                           Dartmouth College
#                              Version 3.0
#                              October 1996
#                          dfk@cs.dartmouth.edu

if ($#argv == 0) then
    set dirs=(configs/*general*)
else
    set dirs=($argv:q)
endif

foreach i ($dirs)
    echo $i
    significant $i/results/*.thruput > $i/results/significance
end
