nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Picking Recent Emails.

2015-04-09 08:07:41
Ken Hornstein <kenh(_at_)pobox(_dot_)com> writes:
To pick today's emails, one might try `pick -after yesterday' or the
equivalent `pick -after -1', but this seems to mean `within the last 24
hours'.

Yeah, those things (and in fact anything where you only specify a date and
not a time) uses the current time instead of midnight.  Which is odd if
you don't know about it.

(`pick -not -before today' I investigated only a little.)  It
seems

   pick -after '08 Apr 2015 00:00:00 +0100'

is what's needed to get today's emails, with a similar incantation for
yesterday's.  I can script this, but I think the current behaviour isn't
the most useful?  find(1) has a -daystart option for a similar issue.

My find(1) lacks a -daystart option, so I do not know exactly what it
does.  Considering this is a behavior change, I am interested in what others
think about this.

I vote for it with both hands, though without the "appear later on the
command line" mis-feature.

    Norman Shapiro

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>