Bug 12881

Summary: 'find' doesn't combine '-exec ... {} +' with parentheses
Product: Busybox Reporter: Martijn Dekker <martijn>
Component: Standard ComplianceAssignee: unassigned
Status: NEW ---    
Severity: major CC: busybox-cvs
Priority: P5    
Version: 1.33.x   
Target Milestone: ---   
Hardware: All   
OS: All   
Host: Target:
Build:

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.