summaryrefslogtreecommitdiff
path: root/doc/pipeline.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/pipeline.html')
-rw-r--r--doc/pipeline.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/pipeline.html b/doc/pipeline.html
index 99a89e0..13882f1 100644
--- a/doc/pipeline.html
+++ b/doc/pipeline.html
@@ -3,9 +3,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="en" />
- <title>execline: the pipeline command</title>
- <meta name="Description" content="execline: the pipeline command" />
- <meta name="Keywords" content="execline command pipeline" />
+ <title>execline: the | command</title>
+ <meta name="Description" content="execline: the | command" />
+ <meta name="Keywords" content="execline command |" />
<!-- <link rel="stylesheet" type="text/css" href="//skarnet.org/default.css" /> -->
</head>
<body>
@@ -16,10 +16,10 @@
<a href="//skarnet.org/">skarnet.org</a>
</p>
-<h1> The <tt>pipeline</tt> program </h1>
+<h1> The <tt>|</tt> program </h1>
<p>
-<tt>pipeline</tt> runs two commands with a pipe between them.
+<tt>|</tt> runs two commands with a pipe between them.
</p>
<h2> Interface </h2>
@@ -29,11 +29,11 @@
</p>
<pre>
- pipeline [ -d ] [ -r | -w ] { <em>prog1...</em> } <em>prog2...</em>
+ | [ -d ] [ -r | -w ] { <em>prog1...</em> } <em>prog2...</em>
</pre>
<ul>
- <li> <tt>pipeline</tt> reads <em>prog1...</em> in a
+ <li> <tt>|</tt> reads <em>prog1...</em> in a
<a href="el_semicolon.html">block</a> and unquotes it. </li>
<li> It runs <em>prog1...</em> as a child process and execs into
<em>prog2...</em>, with a pipe between <em>prog1</em>'s stdout and
@@ -46,7 +46,7 @@ environment variable. </li>
<ul>
<li> <tt>-d</tt>&nbsp;: run <em>prog1...</em>
-as a grandchild of <tt>pipeline</tt>. This is meant to prevent a zombie
+as a grandchild of <tt>|</tt>. This is meant to prevent a zombie
from hanging around if <em>prog2...</em> fails to wait for its children.</li>
<li> <tt>-r</tt>&nbsp;: make <em>prog1...</em> the writer and
<em>prog2...</em> the reader. This is the default. </li>
@@ -57,7 +57,7 @@ from hanging around if <em>prog2...</em> fails to wait for its children.</li>
<h2> Notes </h2>
<ul>
- <li> You can easily create a chain of pipes: <tt>pipeline a "" pipeline b "" c</tt>
+ <li> You can easily create a chain of pipes: <tt>| a "" | b "" c</tt>
is roughly equivalent to
<tt>sh -c 'exec a | b | c'</tt>, except that shells usually run <tt>c</tt>
as a child process like <tt>a</tt> and <tt>b</tt>, and <tt>exec</tt> has no