#!/bin/tcsh -f #(ie run the tshell on this but don't read the .cshrc or .tcshrc) echo version = 1.01 of diffdirhtml 2005 Jul 12 # 2005 Jul 12, 1.01: functional, tweeking to create summary # 2005 Jul 12, 1.00: origin if ($#argv < 2) then echo 'usage: diffdirhtml [directory1] [directory2] [depth]' echo 'Use diffhtml to compare two entire directories.' echo 'See diffdir.' echo "" echo "Do not use [depth], it is used by the program." echo "" echo "Dr. Thomas D. Schneider" echo "toms@alum.mit.edu" echo "permanent email: toms@alum.mit.edu (use only if first address fails)" echo "https://alum.mit.edu/www/toms/" exit endif if ($#argv == 2) then set depth = 1 else set depth = $3 endif echo --------------====== depth $depth ======-------------- set head = /tmp/`whoami`.head.diffhtml set middle = /tmp/`whoami`.middle.diffhtml set tail = /tmp/`whoami`.tail.diffhtml # compiled middles: set middles = /tmp/`whoami`.middles.diffdirhtml if ($depth == 1) then printf "" > $middles endif # compiled summary: set summary = /tmp/`whoami`.summary.diffdirhtml if ($depth == 1) then printf '