[Top][All Lists]

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

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

From: Bernhard Voelker
Subject: [bug #50259] -printf %h behaves weirdly with trailing slashes
Date: Tue, 21 Feb 2017 04:38:03 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0

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

Hi Eric,

would you mind to prepare the test cases (plus the expected output)
for "-printf %h" for cases with /, //, /./, //foo, etc. which you'd
like to have changed?

BTW: I'm not sure the current behavior for a single '/' is correct;
it doesn't seem to be documented at least:

  $ find / -maxdepth 0 -printf "'%h'\n"

Thanks & have a nice day,


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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