First page Back Continue Last page Overview Graphics
Example 4-5
insn.tree_2.bash
mkdir INSN_DATA
cd INSN_DATA
echo "Please input the starting year for tree INSN data"
read year_start
echo "Please input the ending year for tree INSN data"
read year_end
cat ../insn.stn |while
read station
do
echo $station
mkdir $station
cd $station
for year in `seq $year_start $year_end`
do
mkdir $year
cd $year
for month in 01 02 03 04 05 06 07 08 09 10 11 12
do
mkdir $month
done
cd ..
done
cd ..
done
cd ..