1#!/bin/csh 2# 3 4if ( $# > 0 ) then 5 set dbase = "${argv[1]}/" 6else 7 set dbase = "/archive/FreeBSD-current/sys/net80211" 8endif 9 10foreach i ( `find . -type f` ) 11 set spath = "$i" 12 set name = "$i:t" 13 if ( "$name" == "Makefile" ) then 14 continue 15 endif 16 set dpath = `find $dbase -type f -name $name` 17 if ( "$dpath" == "" ) then 18 continue; 19 endif 20 diff -w -u $dpath $spath 21end 22