Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN"> |
2 | <html> | |
3 | <head> | |
4 | <title>MHonArc Resources: STDIN</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="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> | |
10 | <!--/x-rc-nav--> | |
11 | <hr> | |
12 | <h1>STDIN</h1> | |
13 | ||
14 | <!-- *************************************************************** --> | |
15 | <hr> | |
16 | <h2>Syntax</h2> | |
17 | ||
18 | <dl> | |
19 | ||
20 | <dt><strong>Envariable</strong></dt> | |
21 | <dd><p>N/A | |
22 | </p> | |
23 | </dd> | |
24 | ||
25 | <dt><strong>Element</strong></dt> | |
26 | <dd><p>N/A | |
27 | </p> | |
28 | </dd> | |
29 | ||
30 | <dt><strong>Command-line Option</strong></dt> | |
31 | <dd><p> | |
32 | <code>-stdin <var>filename</var></code> | |
33 | </p> | |
34 | </dd> | |
35 | ||
36 | </dl> | |
37 | ||
38 | <!-- *************************************************************** --> | |
39 | <hr> | |
40 | <h2>Description</h2> | |
41 | ||
42 | <p>STDIN can be used to specify a file to treat as standard input. | |
43 | </p> | |
44 | ||
45 | <p>Note, most system shells (Unix) provide the ability to redirect | |
46 | standard input from a file or other process. STDIN is provided where such | |
47 | functionality is not available or easy to achieve. | |
48 | </p> | |
49 | ||
50 | <!-- *************************************************************** --> | |
51 | <hr> | |
52 | <h2>Default Setting</h2> | |
53 | ||
54 | <p>The default location of standard input, which is usually the | |
55 | terminal. | |
56 | </p> | |
57 | ||
58 | <!-- *************************************************************** --> | |
59 | <hr> | |
60 | <h2>Resource Variables</h2> | |
61 | ||
62 | <p>N/A | |
63 | </p> | |
64 | ||
65 | <!-- *************************************************************** --> | |
66 | <hr> | |
67 | <h2>Examples</h2> | |
68 | ||
69 | <p>One way to perform an <a href="add.html">ADD</a> operation for | |
70 | a single message is something like the following: | |
71 | </p> | |
72 | <pre> | |
73 | shell> <b>mhonarc -add -outdir /path/to/archive -stdin mesg.822</b> | |
74 | </pre> | |
75 | <p>However, any decent shell would allow: | |
76 | </p> | |
77 | <pre> | |
78 | shell> <b>mhonarc -add -outdir /path/to/archive < mesg.822</b> | |
79 | </pre> | |
80 | ||
81 | <!-- *************************************************************** --> | |
82 | <hr> | |
83 | <h2>Version</h2> | |
84 | ||
85 | <p>2.4.2 | |
86 | </p> | |
87 | ||
88 | <!-- *************************************************************** --> | |
89 | <hr> | |
90 | <h2>See Also</h2> | |
91 | ||
92 | <p> | |
93 | <a href="stderr.html">STDERR</a>, | |
94 | <a href="stdout.html">STDOUT</a> | |
95 | </p> | |
96 | ||
97 | <!-- *************************************************************** --> | |
98 | <hr> | |
99 | <!--x-rc-nav--> | |
100 | <table border=0><tr valign="top"> | |
101 | <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> | |
102 | <!--/x-rc-nav--> | |
103 | <hr> | |
104 | <address> | |
105 | $Date: 2002/07/27 05:13:11 $ <br> | |
106 | <img align="top" src="../monicon.png" alt=""> | |
107 | <a href="http://www.mhonarc.org/" | |
108 | ><strong>MHonArc</strong></a><br> | |
109 | Copyright © 1999, <a href="http://www.earlhood.com/" | |
110 | >Earl Hood</a>, <a href="mailto:mhonarc@mhonarc.org" | |
111 | >mhonarc@mhonarc.org</a><br> | |
112 | </address> | |
113 | ||
114 | </body> | |
115 | </html> |