ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/HSCPValidation/scripts/genhtml.sh
(Generate patch)

Comparing UserCode/HSCPValidation/scripts/genhtml.sh (file contents):
Revision 1.1 by carrillo, Wed Jan 20 19:09:29 2010 UTC vs.
Revision 1.2 by carrillo, Tue Feb 9 20:27:34 2010 UTC

# Line 6 | Line 6 | export Mass=`awk -F"=" '{print $2}' $1 |
6   export nevents=`awk -F"=" '{print $2}' $1 | awk 'NR==4'`
7   export hscppevent=`awk -F"=" '{print $2}' $1 | awk 'NR==5'`
8   export release=`awk -F"=" '{print $2}' $1 | awk 'NR==6'`
9 + export location=`awk -F"=" '{print $2}' $1 | awk 'NR==7'`
10  
11   echo $particle
12  
13 < sed -e "s|-particle-|$particle|g" -e "s|-pdgid-|$PDGId|g" -e "s|-mass-|$Mass|g" -e "s|-nevents-|$nevents|g" -e "s|-hscppevents-|$hscppevent|g" -e "s|-release-|$release|g" indexTemplate.html > index.html
14 < mv index.html $particle
13 > sed -e "s|-particle-|$particle|g" -e "s|-pdgid-|$PDGId|g" -e "s|-mass-|$Mass|g" -e "s|-nevents-|$nevents|g" -e "s|-hscppevents-|$hscppevent|g" -e "s|-release-|$release|g" -e "s|-location-|$location|g" indexTemplate.html > indextmp.html
14 > mv indextmp.html $particle/index.html
15  
16  
17  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines