Bug 12881 - 'find' doesn't combine '-exec ... {} +' with parentheses
Summary: 'find' doesn't combine '-exec ... {} +' with parentheses
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Standard Compliance (show other bugs)
Version: 1.33.x
Hardware: All All
: P5 major
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-10 16:48 UTC by Martijn Dekker
Modified: 2020-05-10 16:48 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 Martijn Dekker 2020-05-10 16:48:58 UTC
BusyBox 'find' cannot combine '-exec ... {} +' with parenthesis arguments. This should work; it is perfectly valid to use it in more complex 'find' epxressions.

A simple test case:

$ find /dev/null \( -exec printf '%s\n' {} + \)
$ find /dev/null \( -exec printf '%s\n' {} \; \)
/dev/null

The first command prints nothing with Busybox 'find'; it should print '/dev/null' like the second.