comparison packages/net/bsd_tcpip/current/doc/find_matching_files.sh @ 208:e0c0827131d1 ecos

Merge from eCos master repository on 2002-05-20-20:11:54-BST
author jlarmour
date Mon, 20 May 2002 22:19:26 +0000
parents
children
comparison
equal deleted inserted replaced
207:74c807ddde34 208:e0c0827131d1
1 #! /bin/sh
2
3 #ORIG="/work4/OpenBSD.ORIG/sys"
4 ORIG="/work4/IPv6/kame/freebsd4/sys"
5 FILES=`cd ${ORIG};find sys kern net* -type f -or -type l | grep -v CVS`
6 #ECOS="/work2/ecc/ecc/net/tcpip/current"
7 ECOS="/work2/ecc/ecc/net/bsd_tcpip/current"
8
9 (cd ${ECOS};find src/sys include -type f | grep -v CVS >/tmp/ECOS_FILES)
10
11 for i in $FILES; do
12 (echo -n "/";basename $i) >/tmp/FILE
13 if fgrep -q -f /tmp/FILE /tmp/ECOS_FILES >/tmp/FOUND; then
14 echo -n "$i "
15 fgrep -f /tmp/FILE /tmp/ECOS_FILES
16 fi
17 done