List Info

Thread: find command for NETPATHS in updatedb is inconsistent with that for SEARCHPATHS




find command for NETPATHS in updatedb is inconsistent with that for SEARCHPATHS
user name
2008-03-24 13:30:38
URL:
  <http://savann
ah.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: karlfreefriends.org
             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://savann
ah.gnu.org/bugs/?22715>

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





[1]

about | contact  Other archives ( Real Estate discussion Medical topics )