#! /bin/csh # # Filename: tree.aux # # Programmer: Br. David Carlson # # Date: February 7, 1994 # # Description: Auxiliary C shell script for use by the tree shell script. # set tree_tmp=`ls -lA | grep ^d | grep -v ^t | cut -c 55-` set dir_count=0 set i_hold=$I_COUNT @ i_count = $i_hold + 1 setenv I_COUNT $i_count while ($dir_count < $#tree_tmp) @ dir_count++ repeat $I_COUNT echo -n " " echo $tree_tmp[$dir_count] cd $tree_tmp[$dir_count] tree.aux cd .. end setenv I_COUNT $i_hold unset tree_tmp i_hold dir_count i_count