#!/bin/bash mkdir -p ~/STAR/STAR_results/ declare -a project project[1]="ALL"; project[2]="flight"; project[3]="ground"; project[4]="OSP"; project[5]="OSP2"; project[6]="map"; project[7]="glas"; project[8]="eo1"; project[9]="themis"; project[10]="sdo"; declare -a policy policy[1]="strategic"; policy[2]="tactical"; policy[3]="all"; declare -a strat strat[1]=""; strat[2]="-st archriskresl"; strat[3]="-st improvepcap"; strat[4]="-st improvepmat"; strat[5]="-st improveprecflex"; strat[6]="-st improveteam"; strat[7]="-st improvetooltechplat"; strat[8]="-st reducefunc"; strat[9]="-st reducequality"; strat[10]="-st relaxschedule"; strat[11]="-st implementreuse"; con=1; for i in `jot 20`; do echo "RUN #" $i for pro in `jot 10`; do for pol in `jot 3` do for st in `jot 11`; do run="STAR -ex -f ${project[pro]} -pol ${policy[pol]} ${strat[st]} -run $i"; echo $run; if [ $con -eq 1 ]; then con=0; $run & else con=1; $run fi done done done done