Follow-up Comment #5, bug #23065 (group findutils):

[comment #3 Kommentar #3:]
> Since this bug has been with us in the code for a long, long time, I'm
> reluctant to just fix it in a point release, because this will doubtless
> change the effect of a number of user scripts.

I agree.

[...] 
> 1. Modify the existing -daystart so that it takes an optional argument.   The
> argument can be "tomorrow-ish" or "today".   "-daystart tomorrow-ish" has the
> same meaning as -daystart does now.    Document the precise effect of
> tomorrow-ish.   ("ish" because of the problem with short/long days).  The
> argument "today" makes find do what the documentation says it should.   If no
> argument is used, a warning message is issued and "tomorrow-ish" is assumed.

> 2. Either deprecate "-daystart" without a following option, or warn that its
> meaning will change.

I would rather avoid the deprecation/warning tango. Add the optional argument,
document both cases but do not deprecate/warn about the old use.

FWIW the docs seem to be completely wrong right now ("Measure times ... from
the beginning of today rather than from 24 hours  ago.") - Neither -mtime nor
-mmin  measure from 24 hours ago without -daystart, they meaure from *NOW*.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?23065>

_______________________________________________
Nachricht gesendet über Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to