Changeset 7315 for trunk


Ignore:
Timestamp:
08/26/05 03:32:48 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/scripts/dowebplots

    r7314 r7315  
    7575   file=`basename $rootfile`
    7676   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
    8080   
    81    if ls $path/$base-tab*.gif >> $scriptlog 2>&1;;
     81   if ls $path/$base-tab*.gif  >> $scriptlog 2>&1
    8282   then
    8383      continue
     
    8787   daterootfile=`date +%Y%m%d -r $rootfile`
    8888   dategiffile=`date +%Y%m%d -r $tabfile1.gif`
    89    if [ "$dategiffile" = "" ]  
     89   if [ "$dategiffile" = "" ]
    9090   then
    9191      dategiffile=50000000
     
    9393#   now=`date +%Y%m%d`
    9494
    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
    9797   
    98    if [ "$dategiffile" -lt "$daterootfile" ] >> $scriptlog 2>&1;;
     98   if [ "$dategiffile" -lt "$daterootfile" ] >> $scriptlog 2>&1
    9999   then
    100100      continue
    101101   fi
    102102   
    103    echo "produce plots..." >> $scriptlog 2>&1;;
     103   echo "produce plots..." >> $scriptlog 2>&1
    104104   X=0
    105    while [ "$X" -le "50" ] >> $scriptlog 2>&1;;
     105   while [ "$X" -le "50" ] >> $scriptlog 2>&1
    106106   do
    107107      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
    111111      then
    112112         break
    113113      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
    115115   done
    116116done
Note: See TracChangeset for help on using the changeset viewer.