This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: findutils: "find /foo -printf '%P\n'" incorrect


On Thu, Dec 09, 2004 at 10:26:29AM -0500, Tim Moorhouse wrote:
>I'm not sure when this stopped working, but it was in the last couple of
>weeks.
>
>Suppose I have a /foo/bar/baz file and do a "find /foo -printf '%P\n'".
>I'm now getting "foo/bar/baz" as output instead of "bar/baz" - when
>formatting the %P option of printf, it seems to be assuming that the
>path on the command line is always "/" instead of what was actually
>given.

This is a bug in find 4.2.10.  I've submitted a bug report to the upstream
maintainer.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]