Date: Wed, 22 Mar 2023 01:44:07 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 270394] find(1): doesn't pass all files to the -exec utility Message-ID: <bug-270394-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270394 Bug ID: 270394 Summary: find(1): doesn't pass all files to the -exec utility Product: Base System Version: 13.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: yuri@freebsd.org This script demonstrates the problem: rm -rf x mkdir x touch x/a touch x/b touch x/c find x -type f \ -exec sh -c 'echo "files=3D$@"' {} + It prints 'files=3Dx/b x/c' instead of 'files=3Dx/a x/b x/c'. The first file is always missing. FreeBSD 13.1-STABLE #0 stable/13-n253229-dd7b7807c32a --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270394-227>