Parametric study

From raju

parametric study in zsh

Sample script

% cat parametric_study.sh
#! /bin/zsh
month=(
        "January"
        "February"
        "March"
        "April"
        "May"
        "June"
        "July"
        "August"
        "September"
        "October"
        "November"
        "December"
        )
for i in $month
do
    echo "month = " $i
done

Make it executable

% chmod +x parametric_study.sh

Run it

% ./parametric_study.sh
month =  January
month =  February
month =  March
month =  April
month =  May
month =  June
month =  July
month =  August
month =  September
month =  October
month =  November
month =  December

As you can see, the script loops over all the months specified in the month array. To perform a parametric study, change the command and the array definition as needed.