bug-findutils
[Top][All Lists]
Advanced

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

Re: Can't say "if File is older than file" over the phone


From: Bernhard Voelker
Subject: Re: Can't say "if File is older than file" over the phone
Date: Sun, 14 Apr 2019 21:16:18 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 4/12/19 11:02 AM, James Youngman wrote:
> Sounds good, please send a patch.

What about turning the sentence around similar to how POSIX [1] does?
[1] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/find.html
The attached proposes an improved wording.
WDYT?

Apart from that, the description of when -H/-L is in use with a symbolic
link as reference file was wrong: find(1) always uses the mtime of the
reference file (also for -anewer and -cnewer!).
This is surprising to me, because I'd have expected that -anewer is
comparing atime of the current file vs. atime of the reference file etc.,
but obviously not.  This seems to be since "the beginning".
Therefore, I'm 60:40 to document the current behavior than changing
it.
@James: WDYT?

Have a nice day,
Berny

Attachment: 0001-doc-clarify-find-options-newer-anewer-cnewer.patch
Description: Text Data


reply via email to

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