|  1 |    initial version    |  
At the end it worked! I followed these steps: 1) type at the MAC terminal: touch ~/.bash_profile; open ~/.bash_profile 2) add the following line at the bash profile text file that opens up: export=ENERGYPLUS_DIR=/Applications/EnergyPlus-8-2-0/ 3)
#!/bin/bash
END=100
while (($END >= 10)) 
do
    for i in $(seq 10 1 $END)
        do
            /path_to/runenergyplus /path_to/NYC_East_FL_500_${i}_${END}.idf /path_to/NYC_${i}_${END}.epw
        done
END=$((END-1))
done
 4) Enjoy!
    |  2 |    No.2 Revision    |  
At the end it worked!
It worked at last!
I followed these steps:
1) type at the MAC terminal: touch ~/.bash_profile; open ~/.bash_profile 
2) add the following line at the bash profile text file that opens up: export=ENERGYPLUS_DIR=/Applications/EnergyPlus-8-2-0/
export=ENERGYPLUS_DIR=/Applications/EnergyPlus-8-2-0/ Ref:link text 3) 
#!/bin/bash
END=100
while (($END >= 10)) 
do
    for i in $(seq 10 1 $END)
        do
            /path_to/runenergyplus /path_to/NYC_East_FL_500_${i}_${END}.idf /path_to/NYC_${i}_${END}.epw
        done
END=$((END-1))
done
 4) Enjoy!
    |  3 |    No.3 Revision    |  
It worked at last!
At the end it worked!
I followed these steps:
steps:
1) type at the MAC terminal: touch ~/.bash_profile; open ~/.bash_profile
2) add the following line at the bash profile text file that opens up:export=ENERGYPLUS_DIR=/Applications/EnergyPlus-8-2-0/
#!/bin/bash
END=100
while (($END >= 10)) 
do
    for i in $(seq 10 1 $END)
        do
            /path_to/runenergyplus /path_to/NYC_East_FL_500_${i}_${END}.idf /path_to/NYC_${i}_${END}.epw
        done
END=$((END-1))
done
 4) Enjoy!