OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [net/] [bsd_tcpip/] [v2_0/] [doc/] [find_matching_files.sh] - Diff between revs 27 and 174

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 27 Rev 174
#! /bin/sh
#! /bin/sh
 
 
#ORIG="/work4/OpenBSD.ORIG/sys"
#ORIG="/work4/OpenBSD.ORIG/sys"
ORIG="/work4/IPv6/kame/freebsd4/sys"
ORIG="/work4/IPv6/kame/freebsd4/sys"
FILES=`cd ${ORIG};find sys kern net* -type f -or -type l | grep -v CVS`
FILES=`cd ${ORIG};find sys kern net* -type f -or -type l | grep -v CVS`
#ECOS="/work2/ecc/ecc/net/tcpip/current"
#ECOS="/work2/ecc/ecc/net/tcpip/current"
ECOS="/work2/ecc/ecc/net/bsd_tcpip/current"
ECOS="/work2/ecc/ecc/net/bsd_tcpip/current"
 
 
(cd ${ECOS};find src/sys include -type f | grep -v CVS >/tmp/ECOS_FILES)
(cd ${ECOS};find src/sys include -type f | grep -v CVS >/tmp/ECOS_FILES)
 
 
for i in $FILES; do
for i in $FILES; do
  (echo -n "/";basename $i) >/tmp/FILE
  (echo -n "/";basename $i) >/tmp/FILE
  if fgrep -q -f /tmp/FILE /tmp/ECOS_FILES >/tmp/FOUND; then
  if fgrep -q -f /tmp/FILE /tmp/ECOS_FILES >/tmp/FOUND; then
    echo -n "$i "
    echo -n "$i "
    fgrep -f /tmp/FILE /tmp/ECOS_FILES
    fgrep -f /tmp/FILE /tmp/ECOS_FILES
  fi
  fi
done
done
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.