[Top][All Lists]

[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: Gecko/20061011 Fedora/ Firefox/


                 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



Could youplease add following functionality to GNU find as it works on HP-UX

-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

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:


  Message sent via/by Savannah

reply via email to

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