Changeset 8482 for trunk/MagicSoft/Mars/scripts/dospectrum
- Timestamp:
- 05/09/07 17:05:15 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/scripts/dospectrum
r8230 r8482 151 151 for (( i=0 ; i < $par3num ; i++ )) 152 152 do 153 for (( j=0 ; j < $par1num ; j++ ))154 do155 # echo "i: $i - j: $j ------- par1: $val1 and par3: $val3"156 dir=$resultpath/set${val1}_${val3}157 if ! ls $dir >/dev/null 2>&1158 then159 mkdir -pv $dir160 fi161 # rcfile=$dir/ganymed_${val1}_${val3}_onoff.rc162 rcfile=$dir/`basename $ganymedrc`163 if ! ls $rcfile >/dev/null 2>&1164 then165 cat $ganymedrc | sed -e s/"${par1}"/" ${val1}"/ -e s/"${par3}"/" ${val3}"/ > $rcfile166 else167 echo "rcfile $rcfile already exists"168 fi169 val1=`echo $val1 + $par1step | bc`170 done171 val3=`echo $val3 + $par3step | bc`172 val1=$start1153 for (( j=0 ; j < $par1num ; j++ )) 154 do 155 # echo "i: $i - j: $j ------- par1: $val1 and par3: $val3" 156 dir=$resultpath/set${val1}_${val3} 157 if ! ls $dir >/dev/null 2>&1 158 then 159 mkdir -pv $dir 160 fi 161 # rcfile=$dir/ganymed_${val1}_${val3}_onoff.rc 162 rcfile=$dir/`basename $ganymedrc` 163 if ! ls $rcfile >/dev/null 2>&1 164 then 165 cat $ganymedrc | sed -e s/"${par1}"/" ${val1}"/ -e s/"${par3}"/" ${val3}"/ > $rcfile 166 else 167 echo "rcfile $rcfile already exists" 168 fi 169 val1=`echo $val1 + $par1step | bc` 170 done 171 val3=`echo $val3 + $par3step | bc` 172 val1=$start1 173 173 done 174 174
Note:
See TracChangeset
for help on using the changeset viewer.