HomeFreeBSD

find: Allow '/' to be used with -perm for GNU compatibility

Description

find: Allow '/' to be used with -perm for GNU compatibility

In 2005, Gnu find deprecated '+' as the leading character for the -perm
argument, instead preferring '/' with the same meaning. Implement that
behavior here, and document it in the man page.

Reviewed by: imp, emaste
Pull Request: https://github.com/freebsd/freebsd-src/pull/1060

(cherry picked from commit 2a121b97e9673ff37062c9fa026eee969940d2e2)

Details

Provenance
rbranco_suse.comAuthored on Jan 15 2024, 6:35 PM
jhbCommitted on Apr 8 2024, 5:33 PM
Parents
rG3b2b83bcef04: Stop using expressions in _Alignof()
Branches
Unknown
Tags
Unknown