ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/scripts/findEventsinDebug.sh
Revision: 1.1
Committed: Tue Oct 23 12:25:17 2012 UTC (12 years, 6 months ago) by dkralph
Content type: application/x-sh
Branch: MAIN
CVS Tags: compiled, HEAD
Error occurred while calculating annotation data.
Log Message:
*** empty log message ***

File Contents

# Content
1
2 logDir=/temp/dkralph/MitHzz4l_028/Selection/root/recompileDebug
3 for file in `ls $logDir/*/*.txt`; do
4 #for file in $logDir/r12b-dmu-pr-v1/h4l-2_r12a-del-pr-v1_noskim_0008_000.txt; do
5 echo "`basename $file`: "
6 while read line; do
7 if echo $line | grep '-' &> /dev/null; then who=them; else who=me; fi
8 run=`echo $line | awk '{print $1}' | sed 's/[+-]//'`
9 evt=`echo $line | awk '{print $2}' | sed 's/[+-]//'`
10 if grep -A10 -B1 "^Run.*$run.*$evt" $file; then echo "found ($who) $run $evt in $file" | tee -a tmpout; fi
11 # done < my-evts.txt
12 done < difference.txt
13 done