[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #61501] find -execdir wrong root item path

From: anonymous
Subject: [bug #61501] find -execdir wrong root item path
Date: Wed, 17 Nov 2021 11:39:23 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0


                 Summary: find -execdir wrong root item path
                 Project: findutils
            Submitted by: None
            Submitted on: Wed 17 Nov 2021 04:39:21 PM UTC
                Category: find
                Severity: 3 - Normal
              Item Group: Wrong result
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Skeleton Zombie
        Originator Email: skeletonzombie17@web.de
             Open/Closed: Open
                 Release: None
         Discussion Lock: Any
           Fixed Release: 4.8.0



find -execdir gives the wrong path for the root item

$ find . -execdir printf '%s\n' '{}' ';'
./.       # expect "."

$ find /foo -execdir printf '%s\n' '{}' ';'
./foo     # expect "."

for -exec the result is correct

$ find . -exec printf '%s\n' '{}' ';'

$ find /foo -exec printf '%s\n' '{}' ';'

Thanks and Greetings


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]