summaryrefslogtreecommitdiff
path: root/mail/mush
diff options
context:
space:
mode:
authorchristos <christos@pkgsrc.org>1998-10-09 11:32:15 +0000
committerchristos <christos@pkgsrc.org>1998-10-09 11:32:15 +0000
commit0bd9ceb37aa96077b64c3f55851e54b86eb791c5 (patch)
tree40b74c84ae3cba6d4e62e5f97262f2b8979cc39a /mail/mush
parente48ae9d9564ddcadc05f3535328e55346a939d59 (diff)
downloadpkgsrc-0bd9ceb37aa96077b64c3f55851e54b86eb791c5.tar.gz
Fixed a typo in the -D flag, and document it.
Diffstat (limited to 'mail/mush')
-rw-r--r--mail/mush/patches/patch-af4
-rw-r--r--mail/mush/patches/patch-aj35
2 files changed, 37 insertions, 2 deletions
diff --git a/mail/mush/patches/patch-af b/mail/mush/patches/patch-af
index f19cbd44114..6e766b2182c 100644
--- a/mail/mush/patches/patch-af
+++ b/mail/mush/patches/patch-af
@@ -1,4 +1,4 @@
-$NetBSD: patch-af,v 1.2 1998/09/04 19:29:06 christos Exp $
+$NetBSD: patch-af,v 1.3 1998/10/09 11:32:15 christos Exp $
*** old/commands.c Fri Sep 4 11:22:06 1998
--- commands.c Fri Sep 4 11:21:28 1998
@@ -586,7 +586,7 @@ $NetBSD: patch-af,v 1.2 1998/09/04 19:29:06 christos Exp $
turnon(match_priority, M_PRIORITY(c - 'A' + 1));
when 'x' : xflg = 1;
when 'i' : icase = 1;
-+ when 'D' : dups = FALSE;
++ when 'D' : dups = TRUE;
otherwise:
print("pick: unknown flag: %c\n", argv[0][1]);
clear_msg_list(ret_list);
diff --git a/mail/mush/patches/patch-aj b/mail/mush/patches/patch-aj
new file mode 100644
index 00000000000..465c5ec55fa
--- /dev/null
+++ b/mail/mush/patches/patch-aj
@@ -0,0 +1,35 @@
+*** mush.1.orig Fri Oct 9 07:24:11 1998
+--- mush.1 Fri Oct 9 07:29:26 1998
+***************
+*** 2766,2771 ****
+--- 2766,2772 ----
+ .in +2
+ +<num> keep only the first <num> messages matched (head).
+ \-<num> keep only the last <num> messages matched (tail).
++ \-D pick messages that have the same body as others.
+ \-ago <format> search for messages relative to today's date.
+ \-d [+|\-]date messages sent on or [+ after] [`\-' before] date.
+ \-e take all remaining arguments to be the pattern.
+***************
+*** 2786,2791 ****
+--- 2787,2793 ----
+ .IR \-a .
+ Only one of \-a, \-d, \-f, \-h, \-p, \-s and \-t can be specified at once,
+ but multiple \-p options may be specified to select several priorities.
++ A <pattern> must be specified for all arguments, except \-D.
+ Entire messages are scanned for the <pattern>
+ unless \-a, \-d, \-f, \-h, \-p, \-s or \-t is specified.
+ Messages marked for deletion are also searched.
+***************
+*** 2858,2863 ****
+--- 2860,2869 ----
+ February 5, 1987, that contain the subject "mail stuff" and send them
+ to the printer.
+ .sp
++ .ti +2
++ pick -D | delete
++ .sp
++ Deletes all duplicate messages.
+ .ti +2
+ pick -s Re: | delete
+ .sp