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.
This commit is contained in:
2024-09-23 12:59:51 +02:00
parent 9515236244
commit 6e9600426a
3 changed files with 40 additions and 19 deletions

View File

@@ -1,4 +1,4 @@
.TH MBOXGREP 1 "21 May 2023" .TH MBOXGREP 1 "23 September 2024"
.SH NAME .SH NAME
mboxgrep \- displays email messages matching a pattern mboxgrep \- displays email messages matching a pattern
.SH SYNOPSIS .SH SYNOPSIS
@@ -97,10 +97,26 @@ Search $MAIL for messages from Dirty Harry:
mboxgrep '^From:.*callahan@sanfranciscopolice\\.org' $MAIL mboxgrep '^From:.*callahan@sanfranciscopolice\\.org' $MAIL
.TP .TP
\(bu \(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 Display all messages contained in folder ~/Mail/incoming, except those
that appear to originate from AOL: that appear to originate from AOL:
.PP .PP
mboxgrep -v 'Received:.*aol\\.com' ~/Mail/incoming 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 .SH BUGS
Report them to address below. Report them to address below.
.SH SEE ALSO .SH SEE ALSO
@@ -108,7 +124,8 @@ grep(1),
regex(7), regex(7),
perlre(1), perlre(1),
mbox(5), mbox(5),
RFC 2822 RFC 2822,
RFC 4155
.SH DEDICATION .SH DEDICATION
Mboxgrep is dedicated in loving memory of Vicky, my cat who died of Mboxgrep is dedicated in loving memory of Vicky, my cat who died of
tumor on Sep 12, 2002. 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 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 big heart that stopped ticking too early. I will never forget you. Sleep
well, little friend. well, little friend.
.SH URL .SH HOMEPAGE
http://www.mboxgrep.org/ https://www.mboxgrep.org/
.SH GIT
https://git.datatipp.se/dspiljar/mboxgrep
.PP
https://github.com/dspiljar/mboxgrep
.SH AUTHOR .SH AUTHOR
Daniel Spiljar <dspiljar AT datatipp.se> Daniel Spiljar <dspiljar@datatipp.se>

View File

@@ -12,7 +12,7 @@ File: mboxgrep.info, Node: Top, Up: (dir)
This file documents 'mboxgrep' (version 0.7.12a), a mailbox scanning This file documents 'mboxgrep' (version 0.7.12a), a mailbox scanning
utility. utility.
Copyright (C) 2000, 2001, 2002, 2003 Daniel Spiljar Copyright (C) 2000 - 2003, 2024 Daniel Spiljar
* Menu: * Menu:
@@ -250,17 +250,17 @@ Sleep well, little friend.
 
Tag Table: Tag Table:
Node: Top197 Node: Top197
Node: Introduction597 Node: Introduction592
Node: Invoking1466 Node: Invoking1461
Node: Miscellaneous1828 Node: Miscellaneous1823
Node: File locking2113 Node: File locking2108
Node: Regexp selection2750 Node: Regexp selection2745
Node: Output control3302 Node: Output control3297
Node: Search scope selection4342 Node: Search scope selection4337
Node: Mailbox type selection4583 Node: Mailbox type selection4578
Node: Examples4904 Node: Examples4899
Node: Bugs5728 Node: Bugs5723
Node: To Vicky6146 Node: To Vicky6141
 
End Tag Table End Tag Table

View File

@@ -6,7 +6,7 @@
@set EDITION 0.7 @set EDITION 0.7
@set VERSION 0.7.12a @set VERSION 0.7.12a
@set UPDATED 21 May 2023 @set UPDATED 23 September 2024
@dircategory Mail @dircategory Mail
@direntry @direntry
@@ -19,7 +19,7 @@
This file documents @code{mboxgrep} (version @value{VERSION}), a This file documents @code{mboxgrep} (version @value{VERSION}), a
mailbox scanning utility. mailbox scanning utility.
Copyright (C) 2000, 2001, 2002, 2003 Daniel Spiljar Copyright (C) 2000 - 2003, 2024 Daniel Spiljar
@end ifinfo @end ifinfo
@menu @menu