bug-findutils
[Top][All Lists]
Advanced

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

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


From: James Youngman
Subject: [bug #50259] -printf %h behaves weirdly with trailing slashes
Date: Sat, 11 Feb 2017 14:50:00 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36

Follow-up Comment #3, bug #50259 (project findutils):

Yes, you're right, I think one is needed.   From your example:
$ find foo/ -printf '%h/%f\n' 
foo/foo/ 
foo/bar 

I assume that (in your test case) foo/foo does not actually exist.  That isn't
really the intended behavour (rather the current behaviour is an unintended
consequence of the functionality described in the documentation).

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50259>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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