From 6e9600426ae5589d56c9d48a0e837ddc19b89fb9 Mon Sep 17 00:00:00 2001 From: Daniel Spiljar Date: Mon, 23 Sep 2024 12:59:51 +0200 Subject: [PATCH] Minor update to the man and info pages Sync the examples section, refer to RFC 4155 for the mbox mailbox format, and add URLs to Gitea and Github. --- doc/mboxgrep.1 | 31 ++++++++++++++++++++++++++----- doc/mboxgrep.info | Bin 6873 -> 6868 bytes doc/mboxgrep.texi | 4 ++-- 3 files changed, 28 insertions(+), 7 deletions(-) diff --git a/doc/mboxgrep.1 b/doc/mboxgrep.1 index 76888fc..0599414 100644 --- a/doc/mboxgrep.1 +++ b/doc/mboxgrep.1 @@ -1,4 +1,4 @@ -.TH MBOXGREP 1 "21 May 2023" +.TH MBOXGREP 1 "23 September 2024" .SH NAME mboxgrep \- displays email messages matching a pattern .SH SYNOPSIS @@ -97,10 +97,26 @@ Search $MAIL for messages from Dirty Harry: mboxgrep '^From:.*callahan@sanfranciscopolice\\.org' $MAIL .TP \(bu +Re-mail to George messages that mention his name: +.PP +mboxgrep --pipe="/usr/lib/sendmail george" --ignore-case george ~/Mail/* +.TP +\(bu Display all messages contained in folder ~/Mail/incoming, except those that appear to originate from AOL: .PP mboxgrep -v 'Received:.*aol\\.com' ~/Mail/incoming +.TP +\(bu +Do a case-insensitive scan of ~/Mail/incoming for messages with subject +``Weekly News'' and write them to folder ~/Mail/archive: +.PP +mboxgrep -o ~/Mail/archive -H -i '^Subject: Weekly News' ~/Mail/incoming +.TP +\(bu +Count all messages stored in folder spam, ignoring duplicates: +.PP +mboxgrep -nd -c . spam .SH BUGS Report them to address below. .SH SEE ALSO @@ -108,7 +124,8 @@ grep(1), regex(7), perlre(1), mbox(5), -RFC 2822 +RFC 2822, +RFC 4155 .SH DEDICATION Mboxgrep is dedicated in loving memory of Vicky, my cat who died of tumor on Sep 12, 2002. @@ -116,7 +133,11 @@ tumor on Sep 12, 2002. You haven't been long with us, but you gave us a lot of joy and all your big heart that stopped ticking too early. I will never forget you. Sleep well, little friend. -.SH URL -http://www.mboxgrep.org/ +.SH HOMEPAGE +https://www.mboxgrep.org/ +.SH GIT +https://git.datatipp.se/dspiljar/mboxgrep +.PP +https://github.com/dspiljar/mboxgrep .SH AUTHOR -Daniel Spiljar +Daniel Spiljar diff --git a/doc/mboxgrep.info b/doc/mboxgrep.info index e35151b5757c21efa838ea4dcfd6b912672784c0..6f4440166958f619c3402b8b648ce625f3169560 100644 GIT binary patch delta 193 zcmcakUoJ%%Ebv znZ?PeIXQ`WsrjYF^@bKk7ElSd%$!t(ocv_41|vg5W3I^;xy0n_jm%9Api2BpOA1O$ z6q57vN{aGx>Wz&Jj3z5cDKMKDaZUauC}Uf1VrpRwRqI-jm|KvOT3l~pX