Bug 1873 - find {} + not implemented
Summary: find {} + not implemented
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Standard Compliance (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 enhancement
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-31 08:43 UTC by Bernhard Reutner-Fischer
Modified: 2014-09-05 14:52 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Reutner-Fischer 2010-05-31 08:43:55 UTC
$ grep -A3 'implement {} +' findutils/find.c 
				//TODO: implement {} + (like xargs)
				// See:
				// find findutils/ -exec echo ">"{}"<" \;
				// find findutils/ -exec echo ">"{}"<" +
Comment 1 Denys Vlasenko 2010-08-31 17:19:14 UTC
Will this simplistic patch satisfy you?

http://git.busybox.net/busybox/commit/?id=a61ff51b49478345bdfc05d88b4d9df372faa6b9
Comment 2 Bernhard Reutner-Fischer 2010-10-29 09:44:06 UTC
No, this doesn't satisfy me, it's pretty wrong to silently do that since it violates user expectations.
I'm reopening this enhancement bug as a reminder for this TODO.
Comment 3 Denys Vlasenko 2014-09-05 14:52:17 UTC
Fixed in git:

commit 14158b4127dba30466c50147b868a6a89702960b
Author: Bartosz Golaszewski <bartekgola@gmail.com>
Date:   Tue Jun 17 17:09:17 2014 +0200

    find: add optional support for '-exec ... {} +'