<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML//EN">
<title>MHonArc Resources: MHPATTERN
</title>
<table border=
0><tr valign=
"top">
<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>
<!-- *************************************************************** -->
<dt><strong>Envariable
</strong></dt>
<code>M2H_MHPATTERN=
</code><var>Perl-regexp
</var>
<dt><strong>Element
</strong></dt>
<code><MHPATTERN
><br></code>
<var>Perl-regexp
</var><br>
<code></MHPATTERN
><br></code>
<dt><strong>Command-line Option
</strong></dt>
<code>-mhpattern
</code><var>Perl-regexp
</var>
<!-- *************************************************************** -->
<p>MHPATTERN defines the Perl regular expression to use for
matching message files in an MH mail folder. In general,
MHPATTERN allows you to tell MHonArc which message files
to read when a specified mail folder is a directory.
<!-- *************************************************************** -->
<!-- *************************************************************** -->
<h2>Resource Variables
</h2>
<!-- *************************************************************** -->
<p>The following example shows how you can tell MHonArc to
process every non-dotfile in a directory:
%
<b>mhonarc -add -mhpattern '^[^\.]' msgdir
</b>
<p>Remember, each file in
<code>msgdir
</code> must be a single
<p>Be careful in that the regexp you define does
not match
"<code>.</code>" and
"<code>..</code>".
<!-- *************************************************************** -->
<!-- *************************************************************** -->
<!-- *************************************************************** -->
<table border=
0><tr valign=
"top">
<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>
$Date:
2002/
07/
27 05:
13:
10 $
<br>
<img align=
"top" src=
"../monicon.png" alt=
"">
<a href=
"http://www.mhonarc.org/"><strong>MHonArc
</strong></a><br>
Copyright
© 1997-
1998,
<a href=
"http://www.earlhood.com/">Earl Hood
</a>,
<a href=
"mailto:mhonarc@mhonarc.org">mhonarc@mhonarc.org
</a><br>