1 # marian.ivanov@cern.ch
3 # Input - errRec.logs - text file with the list of error logs
4 # Output - seg.log - text file with the seg.faults runs
5 # - segout.log - text file with the output of the seg.fault runs
6 # - the err.log and out.log suppose to be in the same directory
7 # to get the list of logs:
16 for efile in `cat errRec.log` ;do
17 xxx=`cat $efile| grep segmentation`
24 echo "$efile" >>seg.log
26 ofile=`echo $efile| sed s_err_out_`
27 cat $ofile >> segout.log
29 xxx=$xxx`cat $efile| grep Aborted`
36 echo "$efile" >>abort.log
38 ofile=`echo $efile| sed s_err_out_`
39 cat $ofile >> abortout.log
43 echo isOK=$isOK nonOK=$nonOK