bug-findutils
[Top][All Lists]
Advanced

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

[sr #105704] -exec cmd add cmd aggregation (+)


From: anonymous
Subject: [sr #105704] -exec cmd add cmd aggregation (+)
Date: Mon, 18 Dec 2006 14:55:27 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20061011 Fedora/1.5.0.7-7.fc6 Firefox/1.5.0.7

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: address@hidden
             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/





reply via email to

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