From 376f3999a52654ea1480d9464e74225fbf7291fc Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Thu, 2 May 2013 11:34:45 +0200 Subject: [PATCH] Update. --- mymail.1 | 11 +++++++++++ mymail.c | 10 ++++++++++ 2 files changed, 21 insertions(+) diff --git a/mymail.1 b/mymail.1 index 03382d9..93ef57b 100644 --- a/mymail.1 +++ b/mymail.1 @@ -156,6 +156,17 @@ will search in all the database files *.db located (recursively) in recipient, without "spam" in the subject, received over the last 31 days, and create an mbox file /tmp/mymail/mbox. +.SH "FILES" + +The configuration file is by default ${HOME}/.mymailrc and can also be +specificied through the MYMAILRC environment variable. + +It allows to define aliases of search keys, such as: + +.P +.nf +.B alias tod=today + .SH "BUGS" The search in the mail bodies does not decode mimencoding mails, hence diff --git a/mymail.c b/mymail.c index 281929a..ff0bd45 100644 --- a/mymail.c +++ b/mymail.c @@ -1031,6 +1031,16 @@ int main(int argc, char **argv) { read_rc_file(rc_filename); } + /* + { +#warning Test code added on 2013 May 02 11:17:01 + struct alias_node *a; + for(a = global_alias_list; a; a = a->next) { + printf ("ALIAS [%s] [%s]\n", a->alias, a->value); + } + } + */ + setlocale(LC_ALL, ""); nb_search_conditions = 0; -- 2.20.1