From: Francois Fleuret Date: Thu, 2 May 2013 09:34:45 +0000 (+0200) Subject: Update. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=mymail.git;a=commitdiff_plain;h=376f3999a52654ea1480d9464e74225fbf7291fc;hp=19b2c9bdf74142b485066e405603cfd090e7045c Update. --- 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;