[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] Suggested new switches for sortm: -recon and --norecon
From: |
Ralph Corderoy |
Subject: |
Re: [Nmh-workers] Suggested new switches for sortm: -recon and --norecon |
Date: |
Sun, 02 Mar 2014 01:10:29 +0000 |
Hi David,
> > sort(1) has this functionality. It's -c for check. -check? Don't
> > see why we should deviate.
>
> sortm already has a -check, for a slightly different purpose. It was
> recently added, though, so maybe its meaning could be changed?
Ah, OK.
sortm always issues a warning for each message that is missing a
"Date:" field, has a "Date:" field that cannot be parsed, or has a
format error in any header field. With the -check switch, sortm
inhibits all modifications to the folder if there are any such
messages, and exits with non-zero status. With the default of
-nocheck, sortm sorts messages with a missing or invalid "Date:"
field using their file modification times.
-wantdate?
Cheers, Ralph.