Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN"> |
2 | <html> | |
3 | <head> | |
4 | <title>MHonArc Resources: MHPATTERN</title> | |
5 | </head> | |
6 | <body> | |
7 | <!--x-rc-nav--> | |
8 | <table border=0><tr valign="top"> | |
9 | <td align="left" width="50%">[Prev: <a href="maxsize.html">MAXSIZE</a>]</td><td><nobr>[<a href="../resources.html#mhpattern">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next: <a href="mimealtprefs.html">MIMEALTPREFS</a>]</td></tr></table> | |
10 | <!--/x-rc-nav--> | |
11 | <hr> | |
12 | <h1>MHPATTERN</h1> | |
13 | ||
14 | <!-- *************************************************************** --> | |
15 | <hr> | |
16 | <h2>Syntax</h2> | |
17 | ||
18 | <dl> | |
19 | ||
20 | <dt><strong>Envariable</strong></dt> | |
21 | <dd><p> | |
22 | <code>M2H_MHPATTERN=</code><var>Perl-regexp</var> | |
23 | </p> | |
24 | </dd> | |
25 | ||
26 | <dt><strong>Element</strong></dt> | |
27 | <dd><p> | |
28 | <code><MHPATTERN><br></code> | |
29 | <var>Perl-regexp</var><br> | |
30 | <code></MHPATTERN><br></code> | |
31 | </p> | |
32 | </dd> | |
33 | ||
34 | <dt><strong>Command-line Option</strong></dt> | |
35 | <dd><p> | |
36 | <code>-mhpattern </code><var>Perl-regexp</var> | |
37 | </p> | |
38 | </dd> | |
39 | ||
40 | </dl> | |
41 | ||
42 | <!-- *************************************************************** --> | |
43 | <hr> | |
44 | <h2>Description</h2> | |
45 | ||
46 | <p>MHPATTERN defines the Perl regular expression to use for | |
47 | matching message files in an MH mail folder. In general, | |
48 | MHPATTERN allows you to tell MHonArc which message files | |
49 | to read when a specified mail folder is a directory. | |
50 | </p> | |
51 | ||
52 | <!-- *************************************************************** --> | |
53 | <hr> | |
54 | <h2>Default Setting</h2> | |
55 | ||
56 | <pre> | |
57 | ^\d+$ | |
58 | </pre> | |
59 | ||
60 | <!-- *************************************************************** --> | |
61 | <hr> | |
62 | <h2>Resource Variables</h2> | |
63 | ||
64 | <p>N/A | |
65 | </p> | |
66 | ||
67 | <!-- *************************************************************** --> | |
68 | <hr> | |
69 | <h2>Examples</h2> | |
70 | ||
71 | <p>The following example shows how you can tell MHonArc to | |
72 | process every non-dotfile in a directory: | |
73 | </p> | |
74 | ||
75 | <pre> | |
76 | % <b>mhonarc -add -mhpattern '^[^\.]' msgdir</b> | |
77 | </pre> | |
78 | ||
79 | <p>Remember, each file in <code>msgdir</code> must be a single | |
80 | mail message. | |
81 | </p> | |
82 | ||
83 | <p>Be careful in that the regexp you define does | |
84 | not match "<code>.</code>" and "<code>..</code>". | |
85 | </p> | |
86 | ||
87 | <!-- *************************************************************** --> | |
88 | <hr> | |
89 | <h2>Version</h2> | |
90 | ||
91 | <p>2.0 | |
92 | </p> | |
93 | ||
94 | <!-- *************************************************************** --> | |
95 | <hr> | |
96 | <h2>See Also</h2> | |
97 | ||
98 | <p> | |
99 | </p> | |
100 | ||
101 | <!-- *************************************************************** --> | |
102 | <hr> | |
103 | <!--x-rc-nav--> | |
104 | <table border=0><tr valign="top"> | |
105 | <td align="left" width="50%">[Prev: <a href="maxsize.html">MAXSIZE</a>]</td><td><nobr>[<a href="../resources.html#mhpattern">Resources</a>][<a href="../mhonarc.html">TOC</a>]</nobr></td><td align="right" width="50%">[Next: <a href="mimealtprefs.html">MIMEALTPREFS</a>]</td></tr></table> | |
106 | <!--/x-rc-nav--> | |
107 | <hr> | |
108 | <address> | |
109 | $Date: 2002/07/27 05:13:10 $ <br> | |
110 | <img align="top" src="../monicon.png" alt=""> | |
111 | <a href="http://www.mhonarc.org/"><strong>MHonArc</strong></a><br> | |
112 | Copyright © 1997-1998, <a href="http://www.earlhood.com/">Earl Hood</a>, <a href="mailto:mhonarc@mhonarc.org">mhonarc@mhonarc.org</a><br> | |
113 | </address> | |
114 | ||
115 | </body> | |
116 | </html> |