URL:
  <http://savannah.gnu.org/support/?105704>

                 Summary: -exec cmd add cmd aggregation (+)
                 Project: findutils
            Submitted by: None
            Submitted on: Monday 12/18/2006 at 14:55 UTC
                Category: None
                Priority: 5 - Normal
                Severity: 1 - Wish
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: [EMAIL PROTECTED]
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Could youplease add following functionality to GNU find as it works on HP-UX
11.x:

-exec cmd

True if the executed cmd returns a zero value
as exit status.  The end of cmd must be
punctuated by a semicolon (;) or a plus sign
(+) (semicolon and plus are special to the
shell and must be escaped).  When + is used,
cmd aggregates a set of path names and
executes on the set.  Any command arguments
between the first occurrence of {} and + are
ignored.  The reason for preferring + to a ;
is vastly improved performance.  Any command
argument {} is replaced by the current path
name.  cmd may contain supplementary code set
characters.

This greatly improves -exec performance and makes find | xargs useless. It
also removes all problems comes with pipeing to xargs. (filenames with
spaces, unexpected end of file etc...)

Thanks very much.
Norbert Nemeth




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/support/?105704>

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



_______________________________________________
Bug-findutils mailing list
Bug-findutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-findutils

Reply via email to