[bug #50259] -printf %h behaves weirdly with trailing slashes

2017-02-10 Thread Tavian Barnes
Follow-up Comment #2, bug #50259 (project findutils): > If the file's name contains no slashes (for example because it was named on the command line and is in the current working directory), then “%h” expands to “.”. This prevents “%h/%f” expanding to “/foo”, which would be surprising and probably

[bug #50259] -printf %h behaves weirdly with trailing slashes

2017-02-10 Thread James Youngman
Follow-up Comment #1, bug #50259 (project findutils): The behaviour might be strange, but it's documented and explained: https://www.gnu.org/software/findutils/manual/html_mono/find.html#Name-Directives ___ Reply to this item at: