Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:10:29

0001 #! /bin/bash
0002 if [[ -z $CMSSW_BASE ]]
0003 then 
0004   echo NO CMSSW environment is set
0005   exit
0006 fi
0007 if [[ ! -d "$CMSSW_BASE/src/DQM/Integration/python/test" ]]
0008 then 
0009   echo NO "$CMSSW_BASE/src/DQM/Integration/python/test" exists
0010   exit
0011 fi
0012 
0013 cd $CMSSW_BASE/src/DQM/Integration/python/test
0014 echo "|  *File*  || *Version*  ||"
0015 twist=0
0016 cvs stat *dqm_sourceclient-live_cfg.py | 
0017          grep -oP "File:.*py|Working revision:.*" | 
0018          sed "s|File: ||g" | sed "s|Working revision:||g" | 
0019          while read f
0020            do 
0021              if [[ $twist -eq 1 ]]
0022              then 
0023                line="$line  |   $f   ||"
0024                echo $line
0025                twist=0
0026              else 
0027                line="||  $f  "
0028                twist=1
0029              fi
0030            done | sed "s/ | / |  /g" | sed "s/ ||/  ||/g"