# Last edited on 2003-09-19 18:49:26 by stolfi OBTAINING OLD FILES dcc-abacus.inc ic-abacus.inc dcc-abacus-slider.inc ic-abacus-slider.inc abacus_* ic_abacus_* dcc-logo-ring.pov ic-logo.pov fgstyle-X.inc ic-abacus-frame-style-NN.inc + ic-abacus-beads-style-NN.inc SPLITTING OLD STYLE FILES @ i = 100 foreach f ( ../ic-logo/fgstyle-*.inc ../ic-logo/[0-9]*[0-9]/fgstyle-*.inc ../ic-logo/[0-9]*[0-9]/etc-NEW.inc ) echo ${f} set out = ic-abacus-frame-style-${i}.inc echo " ${out}" echo "// Last edited on DATE TIME by USER" > ${out} cat $f \ | egrep -i -e '(highlight|frame|stick|wood|bamboo|matte|metal)|^ *$' \ | egrep -i -v '(slider|test|bead|style)' \ >> ${out} @ i = ( $i + 1 ) end @ i = 100 foreach f ( ../ic-logo/fgstyle-*.inc ../ic-logo/[0-9]*[0-9]/fgstyle-*.inc ../ic-logo/[0-9]*[0-9]/etc-NEW.inc ) echo ${f} set out = ic-abacus-beads-style-${i}.inc echo " ${out}" echo "// Last edited on DATE TIME by USER" > ${out} cat $f \ | egrep -i -e '(highlight|bead|slider|lacquer|matte|metal)|^ *$' \ | egrep -i -v '(frame|stick|test|style)' \ >> ${out} @ i = ( $i + 1 ) end @ i = 100 foreach f ( ../ic-logo/fgstyle-*.inc ../ic-logo/[0-9]*[0-9]/fgstyle-*.inc ../ic-logo/[0-9]*[0-9]/etc-NEW.inc ) echo ${f} set out = ic-abacus-test-style-${i}.inc echo " ${out}" echo "// Last edited on DATE TIME by USER" > ${out} cat $f \ | egrep -i -e '(highlight|test|slider|lacquer|matte|metal)|^ *$' \ | egrep -i -v '(frame|stick|beads|style)' \ >> ${out} @ i = ( $i + 1 ) end REMOVING DUPLICATE SOURCES find-dup-files -noBlanks -noComments ic-abacus-frame-style-*.inc \ > .dups find-dup-files -noBlanks -noComments ic-abacus-beads-style-*.inc \ > .dups