Compare commits
	
		
			6 Commits
		
	
	
		
			0.7.12a
			...
			ec8062309d
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| ec8062309d | |||
| efc6f92cdb | |||
| 191b24433f | |||
| 40b6f8799f | |||
|   | 13bf23b9a2 | ||
| c732d4f949 | 
							
								
								
									
										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. | ||||||
							
								
								
									
										44
									
								
								NEWS.md
									
									
									
									
									
								
							
							
						
						
									
										44
									
								
								NEWS.md
									
									
									
									
									
								
							| @@ -1,21 +1,21 @@ | |||||||
| # Changes of mboxgrep | # Changes of mboxgrep | ||||||
|  |  | ||||||
| ## Changes since 0.7.12 | ## Changes in 0.7.12a | ||||||
|  |  | ||||||
| - Fix Automake macros to include the license file and others. | - Fix Automake macros to include the license file and others. | ||||||
|  |  | ||||||
| ## Changes since 0.7.11 | ## 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 | ||||||
| @@ -24,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 | ||||||
| @@ -33,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 | ||||||
| @@ -42,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 | ||||||
| @@ -91,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) | ||||||
| @@ -99,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  | ||||||
| @@ -112,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`) | ||||||
| @@ -133,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 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -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 | ||||||
|   | |||||||
| @@ -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 | ||||||
| @@ -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 | ||||||
| @@ -256,11 +256,11 @@ Node: Miscellaneous1828 | |||||||
| Node: File locking2113 | Node: File locking2113 | ||||||
| Node: Regexp selection2750 | Node: Regexp selection2750 | ||||||
| Node: Output control3302 | Node: Output control3302 | ||||||
| Node: Search scope selection4346 | Node: Search scope selection4342 | ||||||
| Node: Mailbox type selection4587 | Node: Mailbox type selection4583 | ||||||
| Node: Examples4908 | Node: Examples4904 | ||||||
| Node: Bugs5732 | Node: Bugs5728 | ||||||
| Node: To Vicky6150 | Node: To Vicky6146 | ||||||
|  |  | ||||||
| End Tag Table | End Tag Table | ||||||
|  |  | ||||||
|   | |||||||
| @@ -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. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user