Page MenuHomec4science

summarize-per-trace
No OneTemporary

File Metadata

Created
Tue, Feb 25, 11:26

summarize-per-trace

#!/bin/bash
if [ ! $# -gt 2 ]
then
echo "Usage: ./this TRACE_ID LIST_OF_DIR_IDS"
exit
fi
TRACE=$1
shift
while [ "$1" != "" ]
do
DIR=exp$1
#skip over non-existing directories
if [ ! -d $DIR ]
then
shift
continue
fi
cd $DIR
ctr=0
if [ `ls | grep $TRACE.trace | wc -l` -ne 0 ]
then
ctr=1
fi
cd ..
if [ $ctr -eq 1 ]
then
./summarize-cdf-rel-and-abs $DIR
echo
fi
shift
done

Event Timeline