Compare commits
8 Commits
0.7.12
...
ec8062309d
Author | SHA1 | Date | |
---|---|---|---|
ec8062309d
|
|||
efc6f92cdb
|
|||
191b24433f
|
|||
40b6f8799f
|
|||
![]() |
13bf23b9a2 | ||
c732d4f949
|
|||
7255fae5d0
|
|||
03407c7afb
|
4
.gitignore
vendored
4
.gitignore
vendored
@@ -17,3 +17,7 @@ compile
|
|||||||
depcomp
|
depcomp
|
||||||
install-sh
|
install-sh
|
||||||
missing
|
missing
|
||||||
|
src/mboxgrep.exe
|
||||||
|
configure~
|
||||||
|
.gitignore
|
||||||
|
.vscode/*
|
||||||
|
5
AUTHORS
5
AUTHORS
@@ -1,5 +0,0 @@
|
|||||||
-*- text -*-
|
|
||||||
|
|
||||||
mboxgrep is written and maintained by Daniel Spiljar.
|
|
||||||
|
|
||||||
$Id: AUTHORS,v 1.3 2005-11-16 01:37:18 dspiljar Exp $
|
|
1
AUTHORS.md
Normal file
1
AUTHORS.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|
mboxgrep is written and maintained by Daniel Spiljar with contributors.
|
@@ -1,2 +1,2 @@
|
|||||||
SUBDIRS = doc src
|
SUBDIRS = doc src
|
||||||
dist_data_DATA = contrib
|
EXTRA_DIST = contrib COPYING.md INSTALL.md NEWS.md README.md TODO.md
|
||||||
|
46
NEWS.md
46
NEWS.md
@@ -1,17 +1,21 @@
|
|||||||
# Changes of mboxgrep
|
# Changes of mboxgrep
|
||||||
|
|
||||||
## Changes since 0.7.11
|
## Changes in 0.7.12a
|
||||||
|
|
||||||
|
- Fix Automake macros to include the license file and others.
|
||||||
|
|
||||||
|
## Changes in 0.7.12
|
||||||
|
|
||||||
- Port to the pcre2 library (pcre1 is no longer supported).
|
- Port to the pcre2 library (pcre1 is no longer supported).
|
||||||
- Check command-line options for conflicting matchers and actions.
|
- Check command-line options for conflicting matchers and actions.
|
||||||
- Various minor code cleanups.
|
- Various minor code cleanups.
|
||||||
|
|
||||||
## Changes since 0.7.10
|
## Changes in 0.7.11
|
||||||
|
|
||||||
- GNU Automake is now utilized instead of manually written Makefile.in files.
|
- GNU Automake is now utilized instead of manually written Makefile.in files.
|
||||||
- Code indentation has been corrected and documented (GNU indent is used for this purpose).
|
- Code indentation has been corrected and documented (GNU indent is used for this purpose).
|
||||||
|
|
||||||
## Changes since 0.7.9
|
## Changes in 0.7.10
|
||||||
|
|
||||||
- development has been restarted after a longer hiatus
|
- development has been restarted after a longer hiatus
|
||||||
- moved the source tree to git
|
- moved the source tree to git
|
||||||
@@ -20,7 +24,7 @@
|
|||||||
- fixed multiple compilation errors and warnings on Linux and FreeBSD
|
- fixed multiple compilation errors and warnings on Linux and FreeBSD
|
||||||
- started implementing a debug mode
|
- started implementing a debug mode
|
||||||
|
|
||||||
## Changes since 0.7.8
|
## Changes in 0.7.9
|
||||||
|
|
||||||
- implemented support for mbox folders compressed with bzip2 algorithm
|
- implemented support for mbox folders compressed with bzip2 algorithm
|
||||||
- improved detection of PCRE library; this also fixes a compilation bug
|
- improved detection of PCRE library; this also fixes a compilation bug
|
||||||
@@ -29,7 +33,7 @@
|
|||||||
folder and temporary directory were on different filesystems;
|
folder and temporary directory were on different filesystems;
|
||||||
thanks to James P. Dugal <jpd AT louisiana.edu> for providing a patch
|
thanks to James P. Dugal <jpd AT louisiana.edu> for providing a patch
|
||||||
|
|
||||||
## Changes since 0.7.7
|
## Changes in 0.7.8
|
||||||
|
|
||||||
- fixed crashes on MH folders, as well as a potential problem with mbox
|
- fixed crashes on MH folders, as well as a potential problem with mbox
|
||||||
and maildir folders with the same cause
|
and maildir folders with the same cause
|
||||||
@@ -38,46 +42,46 @@
|
|||||||
- mboxgrep can now read gzip compressed mbox folders from standard input
|
- mboxgrep can now read gzip compressed mbox folders from standard input
|
||||||
(which is a side effect of a code cleanup!)
|
(which is a side effect of a code cleanup!)
|
||||||
|
|
||||||
## Changes since 0.7.6a
|
## Changes in 0.7.7
|
||||||
|
|
||||||
- mboxgrep can now read mbox folders from standard input
|
- mboxgrep can now read mbox folders from standard input
|
||||||
|
|
||||||
## Changes since 0.7.6
|
## Changes in 0.7.6a
|
||||||
|
|
||||||
- fixed a bug which prevented mboxgrep from being compiled
|
- fixed a bug which prevented mboxgrep from being compiled
|
||||||
|
|
||||||
## Changes since 0.7.5
|
## Changes in 0.7.6
|
||||||
|
|
||||||
- fixed a bug which caused mboxgrep to coredump on recursive search of
|
- fixed a bug which caused mboxgrep to coredump on recursive search of
|
||||||
maildirs
|
maildirs
|
||||||
- code cleanups
|
- code cleanups
|
||||||
|
|
||||||
## Changes since 0.7.4
|
## Changes in 0.7.5
|
||||||
|
|
||||||
- recursive search through directories has been reimplemented
|
- recursive search through directories has been reimplemented
|
||||||
|
|
||||||
## Changes since 0.7.3
|
## Changes in 0.7.4
|
||||||
|
|
||||||
- mboxgrep can now ignore messages with identical bodies
|
- mboxgrep can now ignore messages with identical bodies
|
||||||
|
|
||||||
## Changes since 0.7.2
|
## Changes in 0.7.3
|
||||||
|
|
||||||
- file locking method can be selected at runtime
|
- file locking method can be selected at runtime
|
||||||
- mboxgrep used to coredump on messages with empty headers; the problem is
|
- mboxgrep used to coredump on messages with empty headers; the problem is
|
||||||
now hopefully fixed
|
now hopefully fixed
|
||||||
- mboxgrep now compiles on FreeBSD
|
- mboxgrep now compiles on FreeBSD
|
||||||
|
|
||||||
## Changes since 0.7.1
|
## Changes in 0.7.2
|
||||||
|
|
||||||
- file locking with `flock()` instead of `fcntl()` is now supported
|
- file locking with `flock()` instead of `fcntl()` is now supported
|
||||||
- mboxgrep should now compile on systems which don't have `getopt_long()`
|
- mboxgrep should now compile on systems which don't have `getopt_long()`
|
||||||
- other minor bugfixes
|
- other minor bugfixes
|
||||||
|
|
||||||
## Changes since 0.7.0
|
## Changes in 0.7.1
|
||||||
|
|
||||||
- bugfixes
|
- bugfixes
|
||||||
|
|
||||||
## Changes since 0.5.3
|
## Changes in 0.7.0
|
||||||
|
|
||||||
- NOTE: there was no stable version between 0.5.x and 0.7.x
|
- NOTE: there was no stable version between 0.5.x and 0.7.x
|
||||||
- mboxgrep is almost completely rewritten
|
- mboxgrep is almost completely rewritten
|
||||||
@@ -87,7 +91,7 @@
|
|||||||
command)
|
command)
|
||||||
- added support for compressed mbox folders
|
- added support for compressed mbox folders
|
||||||
|
|
||||||
## Changes since 0.5.2
|
## Changes in 0.5.3
|
||||||
|
|
||||||
- implemented ability to write found messages to another folder (instead
|
- implemented ability to write found messages to another folder (instead
|
||||||
of standard output)
|
of standard output)
|
||||||
@@ -95,7 +99,7 @@
|
|||||||
"NEWS")
|
"NEWS")
|
||||||
- wrote a manual in Texinfo format
|
- wrote a manual in Texinfo format
|
||||||
|
|
||||||
## Changes since 0.5.1
|
## Changes in 0.5.2
|
||||||
|
|
||||||
- implemented message counting (`-c, --count`)
|
- implemented message counting (`-c, --count`)
|
||||||
- fixed manual page installation target in src/Makefile.in -- manual page
|
- fixed manual page installation target in src/Makefile.in -- manual page
|
||||||
@@ -108,17 +112,17 @@
|
|||||||
- implemented recursive search through directories (`-r, --recursive`)
|
- implemented recursive search through directories (`-r, --recursive`)
|
||||||
- config.h[.in] is now wrapped (`#ifndef CONFIG_H` and stuff)
|
- config.h[.in] is now wrapped (`#ifndef CONFIG_H` and stuff)
|
||||||
|
|
||||||
## Changes since 0.5.0
|
## Changes in 0.5.1
|
||||||
|
|
||||||
- added support for qmail-style maildir folders
|
- added support for qmail-style maildir folders
|
||||||
|
|
||||||
## Changes since 0.4.0
|
## Changes in 0.5.0
|
||||||
|
|
||||||
- the source of `getopt_long()` is now included, so long options are also available
|
- the source of `getopt_long()` is now included, so long options are also available
|
||||||
on platforms that don't use GNU libc
|
on platforms that don't use GNU libc
|
||||||
- file locking is now performed on mbox folders only
|
- file locking is now performed on mbox folders only
|
||||||
|
|
||||||
## Changes since 0.2.0
|
## Changes in 0.4.0
|
||||||
|
|
||||||
- added support for MH mailboxes
|
- added support for MH mailboxes
|
||||||
- added scope selection switches `-B` (or `--body`) and `-H` (or `--headers`)
|
- added scope selection switches `-B` (or `--body`) and `-H` (or `--headers`)
|
||||||
@@ -129,12 +133,12 @@
|
|||||||
- the feature of reading from standard input is gone
|
- the feature of reading from standard input is gone
|
||||||
- added `-v` (or `--version`) switch
|
- added `-v` (or `--version`) switch
|
||||||
|
|
||||||
## Changes since 0.1.1
|
## Changes in 0.2.0
|
||||||
|
|
||||||
- mboxgrep now puts a shared lock on a mailbox before reading it
|
- mboxgrep now puts a shared lock on a mailbox before reading it
|
||||||
- various code cleanups
|
- various code cleanups
|
||||||
|
|
||||||
## Changes since 0.1.0
|
## Changes in 0.1.1
|
||||||
|
|
||||||
- fixed install target in Makefile (`install` is now used instead of `cp`)
|
- fixed install target in Makefile (`install` is now used instead of `cp`)
|
||||||
- added support for mailboxes generated by Gnus
|
- added support for mailboxes generated by Gnus
|
||||||
|
2
TODO.md
2
TODO.md
@@ -15,6 +15,7 @@
|
|||||||
- [x] reading messages from standard input
|
- [x] reading messages from standard input
|
||||||
- [x] run-time selection of file locking method
|
- [x] run-time selection of file locking method
|
||||||
- [x] add a debug function
|
- [x] add a debug function
|
||||||
|
- [ ] Remove the option to recursively traverse directories and instruct the users to run mboxgrep in conjuction with find(1) instead.
|
||||||
|
|
||||||
## File formats, encodings and standards
|
## File formats, encodings and standards
|
||||||
|
|
||||||
@@ -28,6 +29,7 @@
|
|||||||
- [ ] support for mail folder conversion
|
- [ ] support for mail folder conversion
|
||||||
- [ ] improve error detection when a directory is not a Maildir or MH folder
|
- [ ] improve error detection when a directory is not a Maildir or MH folder
|
||||||
- [ ] document criteria for folder format detection
|
- [ ] document criteria for folder format detection
|
||||||
|
- [ ] Maildir: check if an atomic rename() fails. This could be caused if "new" and "cur" subdirectories are not on the same filesystem, for example.
|
||||||
|
|
||||||
## Miscellaneous
|
## Miscellaneous
|
||||||
|
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
# Process this file with autoconf to produce a configure script.
|
# Process this file with autoconf to produce a configure script.
|
||||||
|
|
||||||
# Yawn.
|
# Yawn.
|
||||||
AC_INIT([mboxgrep], [0.7.12], [dspiljar@datatipp.se], [mboxgrep], [https://www.mboxgrep.org/])
|
AC_INIT([mboxgrep], [0.7.12a], [dspiljar@datatipp.se], [mboxgrep], [https://www.mboxgrep.org/])
|
||||||
#AM_INIT_AUTOMAKE
|
#AM_INIT_AUTOMAKE
|
||||||
AM_INIT_AUTOMAKE([foreign])
|
AM_INIT_AUTOMAKE([foreign])
|
||||||
AC_LANG([C])
|
AC_LANG([C])
|
||||||
@@ -93,7 +93,5 @@ AC_CHECK_FUNCS([strptime])
|
|||||||
AC_CHECK_FUNCS(ftw)
|
AC_CHECK_FUNCS(ftw)
|
||||||
AC_CHECK_FUNCS(fts_open)
|
AC_CHECK_FUNCS(fts_open)
|
||||||
|
|
||||||
AC_CONFIG_FILES([Makefile
|
AC_CONFIG_FILES([Makefile doc/Makefile src/Makefile])
|
||||||
doc/Makefile
|
|
||||||
src/Makefile])
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.TH MBOXGREP 1 "20 May 2023"
|
.TH MBOXGREP 1 "21 May 2023"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
mboxgrep \- displays email messages matching a pattern
|
mboxgrep \- displays email messages matching a pattern
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
@@ -10,7 +10,7 @@ mboxgrep \- displays email messages matching a pattern
|
|||||||
This manual page refers to
|
This manual page refers to
|
||||||
.B mboxgrep
|
.B mboxgrep
|
||||||
version
|
version
|
||||||
.BR 0.7.12 .
|
.BR 0.7.12a .
|
||||||
.PP
|
.PP
|
||||||
.B mboxgrep
|
.B mboxgrep
|
||||||
scans a
|
scans a
|
||||||
@@ -72,8 +72,8 @@ Do not lock files. This option is meaningful only if a mbox folder (see below)
|
|||||||
is scanned.
|
is scanned.
|
||||||
.IP "-c, --count"
|
.IP "-c, --count"
|
||||||
Suppress normal output and print a count of matching messages.
|
Suppress normal output and print a count of matching messages.
|
||||||
.IP "-o, --output=FOLDER"
|
.IP "-o, --output=MAILBOX"
|
||||||
Suppress normal output and write messages to destination folder FOLDER instead.
|
Suppress normal output and write messages to destination MAILBOX instead.
|
||||||
.IP "-p, --pipe=COMMAND"
|
.IP "-p, --pipe=COMMAND"
|
||||||
Pipe each found message to COMMAND
|
Pipe each found message to COMMAND
|
||||||
.IP "-d, --delete"
|
.IP "-d, --delete"
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
This is mboxgrep.info, produced by makeinfo version 6.7 from
|
This is mboxgrep.info, produced by makeinfo version 6.8 from
|
||||||
mboxgrep.texi.
|
mboxgrep.texi.
|
||||||
|
|
||||||
INFO-DIR-SECTION Mail
|
INFO-DIR-SECTION Mail
|
||||||
@@ -9,7 +9,7 @@ END-INFO-DIR-ENTRY
|
|||||||
|
|
||||||
File: mboxgrep.info, Node: Top, Up: (dir)
|
File: mboxgrep.info, Node: Top, Up: (dir)
|
||||||
|
|
||||||
This file documents 'mboxgrep' (version 0.7.12), 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, 2001, 2002, 2003 Daniel Spiljar
|
||||||
@@ -151,10 +151,10 @@ options below change such behavior.
|
|||||||
'-nd'
|
'-nd'
|
||||||
Ignore duplicate messages.
|
Ignore duplicate messages.
|
||||||
|
|
||||||
'--output=FOLDER'
|
'--output=MAILBOX'
|
||||||
'-o FOLDER'
|
'-o MAILBOX'
|
||||||
Suppress normal output and write messages to destination folder
|
Suppress normal output and write messages to destination MAILBOX
|
||||||
FOLDER instead.
|
instead.
|
||||||
|
|
||||||
Note that 'mboxgrep' assumes the output folder is of the same
|
Note that 'mboxgrep' assumes the output folder is of the same
|
||||||
format as the input folder. Currently there is no possibility to
|
format as the input folder. Currently there is no possibility to
|
||||||
@@ -250,17 +250,17 @@ Sleep well, little friend.
|
|||||||
|
|
||||||
Tag Table:
|
Tag Table:
|
||||||
Node: Top197
|
Node: Top197
|
||||||
Node: Introduction596
|
Node: Introduction597
|
||||||
Node: Invoking1465
|
Node: Invoking1466
|
||||||
Node: Miscellaneous1827
|
Node: Miscellaneous1828
|
||||||
Node: File locking2112
|
Node: File locking2113
|
||||||
Node: Regexp selection2749
|
Node: Regexp selection2750
|
||||||
Node: Output control3301
|
Node: Output control3302
|
||||||
Node: Search scope selection4345
|
Node: Search scope selection4342
|
||||||
Node: Mailbox type selection4586
|
Node: Mailbox type selection4583
|
||||||
Node: Examples4907
|
Node: Examples4904
|
||||||
Node: Bugs5731
|
Node: Bugs5728
|
||||||
Node: To Vicky6149
|
Node: To Vicky6146
|
||||||
|
|
||||||
End Tag Table
|
End Tag Table
|
||||||
|
|
||||||
|
@@ -5,8 +5,8 @@
|
|||||||
@setchapternewpage odd
|
@setchapternewpage odd
|
||||||
|
|
||||||
@set EDITION 0.7
|
@set EDITION 0.7
|
||||||
@set VERSION 0.7.12
|
@set VERSION 0.7.12a
|
||||||
@set UPDATED 20 May 2023
|
@set UPDATED 21 May 2023
|
||||||
|
|
||||||
@dircategory Mail
|
@dircategory Mail
|
||||||
@direntry
|
@direntry
|
||||||
@@ -171,10 +171,9 @@ Use with extreme caution.
|
|||||||
@itemx -nd
|
@itemx -nd
|
||||||
Ignore duplicate messages.
|
Ignore duplicate messages.
|
||||||
|
|
||||||
@item --output=FOLDER
|
@item --output=MAILBOX
|
||||||
@itemx -o FOLDER
|
@itemx -o MAILBOX
|
||||||
Suppress normal output and write messages to destination folder FOLDER
|
Suppress normal output and write messages to destination MAILBOX instead.
|
||||||
instead.
|
|
||||||
|
|
||||||
Note that @code{mboxgrep} assumes the output folder is of the same format
|
Note that @code{mboxgrep} assumes the output folder is of the same format
|
||||||
as the input folder. Currently there is no possibility to convert folders.
|
as the input folder. Currently there is no possibility to convert folders.
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
#define MBOXGREP_H
|
#define MBOXGREP_H
|
||||||
|
|
||||||
#define APPNAME "mboxgrep"
|
#define APPNAME "mboxgrep"
|
||||||
#define VERSION "0.7.12"
|
#define VERSION "0.7.12a"
|
||||||
#define BUGREPORT_ADDR "dspiljar AT datatipp.se"
|
#define BUGREPORT_ADDR "dspiljar AT datatipp.se"
|
||||||
|
|
||||||
#define HOST_NAME_SIZE 256
|
#define HOST_NAME_SIZE 256
|
||||||
|
Reference in New Issue
Block a user