Changeset 7315 for trunk/MagicSoft/Mars/datacenter/scripts/dowebplots
- Timestamp:
- 08/26/05 03:32:48 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/dowebplots
r7314 r7315 75 75 file=`basename $rootfile` 76 76 base=`echo $file | sed -e 's/.root$//g'` 77 echo "file $file" >> $scriptlog 2>&1 ;;78 echo "path $path" >> $scriptlog 2>&1 ;;79 echo "base $base" >> $scriptlog 2>&1 ;;77 echo "file $file" >> $scriptlog 2>&1 78 echo "path $path" >> $scriptlog 2>&1 79 echo "base $base" >> $scriptlog 2>&1 80 80 81 if ls $path/$base-tab*.gif >> $scriptlog 2>&1;;81 if ls $path/$base-tab*.gif >> $scriptlog 2>&1 82 82 then 83 83 continue … … 87 87 daterootfile=`date +%Y%m%d -r $rootfile` 88 88 dategiffile=`date +%Y%m%d -r $tabfile1.gif` 89 if [ "$dategiffile" = "" ] 89 if [ "$dategiffile" = "" ] 90 90 then 91 91 dategiffile=50000000 … … 93 93 # now=`date +%Y%m%d` 94 94 95 echo "date of rootfile: $daterootfile" >> $scriptlog 2>&1 ;;96 echo "date of giffile: $dategiffile" >> $scriptlog 2>&1 ;;95 echo "date of rootfile: $daterootfile" >> $scriptlog 2>&1 96 echo "date of giffile: $dategiffile" >> $scriptlog 2>&1 97 97 98 if [ "$dategiffile" -lt "$daterootfile" ] >> $scriptlog 2>&1 ;;98 if [ "$dategiffile" -lt "$daterootfile" ] >> $scriptlog 2>&1 99 99 then 100 100 continue 101 101 fi 102 102 103 echo "produce plots..." >> $scriptlog 2>&1 ;;103 echo "produce plots..." >> $scriptlog 2>&1 104 104 X=0 105 while [ "$X" -le "50" ] >> $scriptlog 2>&1 ;;105 while [ "$X" -le "50" ] >> $scriptlog 2>&1 106 106 do 107 107 X=$((X+1)) 108 echo "$X. step" >> $scriptlog 2>&1 ;;109 ./showplot -b --save-as-ps=$tabfile$X --tab=$X $rootfile >> $scriptlog 2>&1 ;;110 if ! ls $tabfile$X.ps >> $scriptlog 2>&1 ;;108 echo "$X. step" >> $scriptlog 2>&1 109 ./showplot -b --save-as-ps=$tabfile$X --tab=$X $rootfile >> $scriptlog 2>&1 110 if ! ls $tabfile$X.ps >> $scriptlog 2>&1 111 111 then 112 112 break 113 113 fi 114 convert -rotate 90 $tabfile$X.ps $tabfile$X.gif >> $scriptlog 2>&1;;114 convert -rotate 90 $tabfile$X.ps $tabfile$X.gif >> $scriptlog 2>&1 115 115 done 116 116 done
Note:
See TracChangeset
for help on using the changeset viewer.