
Sended by Ed Hynan <ehy@delphi.com>  

Hello again,

There is a problem with the find command in muLinux 5.7.
It will not find a file in the root directory of its search
path.  For example ``find /etc -name passwd -print'' does
not find /etc/passwd, but it will find /etc/foo/passwd if
it exists.




*** root/usr/bin/find.orig	Mon May 17 16:25:38 1999
--- root/usr/bin/find	Mon May 17 17:45:18 1999
***************
*** 16,33 ****
  [ "$P" ] || P="."
  
  case $C in
! -name)
! if [ `$LS $P -1UAR | sed -n "/:$/P" | wc -l` = "0" ] ; then
! $LS $P -1UA | sed -n "/$R/P" | while read F; do
!   echo "$P/$F";
! done
! else
! $LS $P -1UAR | sed -n "/:$/P" | tr -d ':' | while read D; do
   $LS $D -1UA | sed -n "/$R/P" | while read F; do
!    if [ "$D" = '/' ] ; then echo "/$F"; else echo "$D/$F"; fi
   done
! done
! fi ;;
  -user) $LS $P -FURAo | sed -n "/ $R /P" ;;
  -h) cat <<EOF
  Usage: find [path] [-name|-user regexp] [-print]
--- 16,27 ----
  [ "$P" ] || P="."
  
  case $C in
! -name) { echo "$P"; $LS $P -1UAR | sed -n '/:$/P'
! } | tr -d ':' | while read D; do
   $LS $D -1UA | sed -n "/$R/P" | while read F; do
!    [ "$D" = '/' ] && echo "/$F" || echo "$D/$F"
   done
! done ;;
  -user) $LS $P -FURAo | sed -n "/ $R /P" ;;
  -h) cat <<EOF
  Usage: find [path] [-name|-user regexp] [-print]
