First page Back Continue Last page Overview Graphics

Example 4-4 insn_tree.bash

mkdir INSN_DATA

cd INSN_DATA

cat ../insn.stn |while

read station

do

echo $station

mkdir $station

cd $station

for year in `seq 2004 2013`

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