xref: /dflybsd-src/sys/netproto/802_11/dofbsddiff (revision faa0d98b6d24a73d092eaa885497f1516eac395f)
1*faa0d98bSMatthew Dillon#!/bin/csh
2*faa0d98bSMatthew Dillon#
3*faa0d98bSMatthew Dillon
4*faa0d98bSMatthew Dillonif ( $# > 0 ) then
5*faa0d98bSMatthew Dillon    set dbase = "${argv[1]}/"
6*faa0d98bSMatthew Dillonelse
7*faa0d98bSMatthew Dillon    set dbase = "/archive/FreeBSD-current/sys/net80211"
8*faa0d98bSMatthew Dillonendif
9*faa0d98bSMatthew Dillon
10*faa0d98bSMatthew Dillonforeach i ( `find . -type f` )
11*faa0d98bSMatthew Dillon    set spath = "$i"
12*faa0d98bSMatthew Dillon    set name = "$i:t"
13*faa0d98bSMatthew Dillon    if ( "$name" == "Makefile" ) then
14*faa0d98bSMatthew Dillon	continue
15*faa0d98bSMatthew Dillon    endif
16*faa0d98bSMatthew Dillon    set dpath = `find $dbase -type f -name $name`
17*faa0d98bSMatthew Dillon    if ( "$dpath" == "" ) then
18*faa0d98bSMatthew Dillon	continue;
19*faa0d98bSMatthew Dillon    endif
20*faa0d98bSMatthew Dillon    diff -w -u $dpath $spath
21*faa0d98bSMatthew Dillonend
22