#! /bin/csh -f echo "Results of IT wish list as of `date`" set list = ( /etc/hosts \ /etc/netmasks \ /etc/networks \ /etc/aliases \ /etc/sendmail.cf \ /etc/resolv.conf \ /etc/cap.printers \ /etc/printcap \ /usr/local/lib/adobe.phones ) foreach machine ( adobe tower champion smoke maximus mistral ) echo "------------------------------------------------------------" echo "machine = $machine" echo "------------------------------------------------------------" if (`hostname` == $machine) then ls -l $list | cut -c20- else rsh $machine ls -l $list | cut -c20- endif end # foreach machine