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/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270394 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=$@"' {} + It prints 'files=x/b x/c' instead of 'files=x/a x/b x/c'. The first file is always missing. FreeBSD 13.1-STABLE #0 stable/13-n253229-dd7b7807c32a -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270394-227>
