Ignore:
Timestamp:
09/09/13 16:51:20 (11 years ago)
Author:
tbretz
Message:
process in backward order; copy the script; added #!
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/fact/analysis/gain/fit.sh

    r17073 r17159  
     1#!/bin/bash
     2
    13inpath=$PWD/$1
    24outpath=${inpath}/fit
     
    46
    57mkdir -p $outpath
     8cp ${macro} ${outpath}
    69
    7 files_out=`ls -1 ${inpath}  | grep \.root`
    8 files_fit=`ls -1 ${outpath} | grep \.root`
     10files_out=`ls -1r ${inpath}  | grep \.root`
     11files_fit=`ls -1r ${outpath} | grep \.root`
    912
    1013for file in $files_out
Note: See TracChangeset for help on using the changeset viewer.