<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML//EN">
<title>MHonArc Resources: STDIN
</title>
<table border=
0><tr valign=
"top">
<td align=
"left" width=
"50%">[Prev:
<a href=
"stderr.html">STDERR
</a>]
</td><td><nobr>[
<a href=
"../resources.html#stdin">Resources
</a>][
<a href=
"../mhonarc.html">TOC
</a>]
</nobr></td><td align=
"right" width=
"50%">[Next:
<a href=
"stdout.html">STDOUT
</a>]
</td></tr></table>
<!-- *************************************************************** -->
<dt><strong>Envariable
</strong></dt>
<dt><strong>Element
</strong></dt>
<dt><strong>Command-line Option
</strong></dt>
<code>-stdin
<var>filename
</var></code>
<!-- *************************************************************** -->
<p>STDIN can be used to specify a file to treat as standard input.
<p>Note, most system shells (Unix) provide the ability to redirect
standard input from a file or other process. STDIN is provided where such
functionality is not available or easy to achieve.
<!-- *************************************************************** -->
<p>The default location of standard input, which is usually the
<!-- *************************************************************** -->
<h2>Resource Variables
</h2>
<!-- *************************************************************** -->
<p>One way to perform an
<a href=
"add.html">ADD
</a> operation for
a single message is something like the following:
shell
> <b>mhonarc -add -outdir /path/to/archive -stdin mesg
.822</b>
<p>However, any decent shell would allow:
shell
> <b>mhonarc -add -outdir /path/to/archive
< mesg
.822</b>
<!-- *************************************************************** -->
<!-- *************************************************************** -->
<a href=
"stderr.html">STDERR
</a>,
<a href=
"stdout.html">STDOUT
</a>
<!-- *************************************************************** -->
<table border=
0><tr valign=
"top">
<td align=
"left" width=
"50%">[Prev:
<a href=
"stderr.html">STDERR
</a>]
</td><td><nobr>[
<a href=
"../resources.html#stdin">Resources
</a>][
<a href=
"../mhonarc.html">TOC
</a>]
</nobr></td><td align=
"right" width=
"50%">[Next:
<a href=
"stdout.html">STDOUT
</a>]
</td></tr></table>
$Date:
2002/
07/
27 05:
13:
11 $
<br>
<img align=
"top" src=
"../monicon.png" alt=
"">
<a href=
"http://www.mhonarc.org/"
><strong>MHonArc
</strong></a><br>
Copyright
© 1999,
<a href=
"http://www.earlhood.com/"
>Earl Hood
</a>,
<a href=
"mailto:mhonarc@mhonarc.org"
>mhonarc@mhonarc.org
</a><br>