bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #22715] find command for NETPATHS in updatedb is inconsistent with


From: James Youngman
Subject: [bug #22715] find command for NETPATHS in updatedb is inconsistent with that for SEARCHPATHS
Date: Mon, 24 Mar 2008 18:30:38 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080129 Iceweasel/2.0.0.12 (Debian-2.0.0.12-1)

URL:
  <http://savannah.gnu.org/bugs/?22715>

                 Summary: find command for NETPATHS in updatedb is
inconsistent with that for SEARCHPATHS
                 Project: findutils
            Submitted by: jay
            Submitted on: Monday 03/24/2008 at 18:30
                Category: updatedb
                Severity: 3 - Normal
              Item Group: Wrong result
                  Status: None
                 Privacy: Public
             Assigned to: jay
         Originator Name: Karl Berry
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
           Fixed Release: None

    _______________________________________________________

Details:


The find command for NETPATHS in updatedb is different than the others.
For example (line breaks changed for ease of comparison):

   # : A8
   $find $NETPATHS $FINDOPTIONS
   \( -type d -regex "$PRUNEREGEX" -prune \)
   -o $print_option || ...

The -prune is inside the parentheses.  Compare with, say:

   # : A6
   $find $SEARCHPATHS $FINDOPTIONS
   \( $prunefs_exp -type d -regex "$PRUNEREGEX" \)
   -prune -o $print_option || ...

I don't actually use NETPATHS, so I'm not sure if it actually makes a
difference, I just saw it by inspection ...






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?22715>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]