Skip to content

find -exec {} [args...] \; fails #614

Closed

Description

@e-kwsm

revision: 245623e

cd /
find /usr/bin -name pwd -exec {} -P ';'  # /usr/bin/pwd -P

GNU and BSD show

/

and exit zero, whereas uutils fails:

Failed to run {}: No such file or directory (os error 2)

As per https://pubs.opengroup.org/onlinepubs/9799919799.2024edition/utilities/find.html, this is valid.

-exec utility_name [argument ...] ;
…
A utility_name or argument containing only the two characters "{}" shall be replaced by the current pathname.

Activity

  1. Erickkaranja commented on Jan 22, 2026

    @Erickkaranja

    Hello, can I work on this?

  2. sylvestre commented on Jan 22, 2026

    @sylvestre
    SponsorContributor

    sure
    please open a PR

  3. added a commit that references this issue on Mar 27, 2026
    f44f05e
  4. added a commit that references this issue on Jun 6, 2026
    5e20bea
  5. added a commit that references this issue on Jun 6, 2026
    1a77a83
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions