From 2b8ce9a53b7c4004d2a4eafc06ca5b9117c719e6 Mon Sep 17 00:00:00 2001 From: Ricardo Mones Date: Fri, 20 Sep 2019 10:40:56 +0200 Subject: [PATCH] Restore previous format of README entry --- tools/README | 44 +++++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/tools/README b/tools/README index c6310b550..2c7802c03 100644 --- a/tools/README +++ b/tools/README @@ -594,31 +594,33 @@ Other tools * fix_date.sh - Add a 'Date:' header to the selected email(s) when such header is - missing. The correct date is guessed from other headers that - contain timestamp information (preferred: Fetchinfo header if found) - or from the file or system date as a fallback. The order or - preference for the date value replacement can be changed by editing - the script. - - This script can be used to fix messages that show non RFC-compliant - Date headers as well. - - X-Original-Date is always added too if not already existing (if so, - it's left untouched), to keep track of the original value if any. - - An existing Date: header is not overwritten unless you use the - --force switch. + WHAT IT DOES + Add a 'Date:' header to the selected email(s) when such header + is missing. The correct date is guessed from other headers + that contain timestamp information (preferred: Fetchinfo + header if found) or from the file or system date as a + fallback. The order or preference for the date value + replacement can be changed by editing the script. + This script can be used to fix messages that show non + RFC-compliant Date headers as well. + X-Original-Date is always added too if not already existing + (if so, it's left untouched), to keep track of the original + value if any. + An existing Date: header is not overwritten unless you use the + --force switch. + Non RFC-compliant dates can be overwritten using the --rfc + switch. Use --strict to use strict RFC matching patterns for + date values in other headers. - Non RFC-compliant dates can be overwritten using the --rfc switch. - Use --strict to use strict RFC matching patterns for date values in - other headers. + HOW TO USE IT + First you have to create an action with the following command: - WORKS ON: selected message(s) + fix_date.sh %F - COMMAND: fix_date.sh %F + On main window's message list, select the messages to be fixed + and invoke the created action. - CONTACT: wwp + Contact: wwp * mairix.sh -- 2.25.1