summaryrefslogtreecommitdiff
path: root/doc/backtick.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2018-03-16 08:18:53 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2018-03-16 08:18:53 +0000
commit77a47b2c5e7c3243743bd8d7594366f498e9cef7 (patch)
treefb807c0b0c20db34f5108df67da6b4d64e5bc8e6 /doc/backtick.html
parent3fde941ae33bd70edf015b3c72997aef703ebf6d (diff)
downloadexecline-77a47b2c5e7c3243743bd8d7594366f498e9cef7.tar.xz
More modifications, and doc change
Diffstat (limited to 'doc/backtick.html')
-rw-r--r--doc/backtick.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/backtick.html b/doc/backtick.html
index b1e2870..9045629 100644
--- a/doc/backtick.html
+++ b/doc/backtick.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 backtick command</title>
- <meta name="Description" content="execline: the backtick command" />
- <meta name="Keywords" content="execline command backtick" />
+ <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>backtick</tt> program </h1>
+<h1> The <tt>`</tt> program </h1>
<p>
-<tt>backtick</tt> runs a program and stores its output in an
+<tt>`</tt> runs a program and stores its output in an
environment variable, then executes another program.
</p>
@@ -30,15 +30,15 @@ environment variable, then executes another program.
</p>
<pre>
- backtick [ -i | -I | -D <em>default</em> ] [ -n ] <em>variable</em> { <em>prog1...</em> } <em>prog2...</em>
+ ` [ -i | -I | -D <em>default</em> ] [ -n ] <em>variable</em> { <em>prog1...</em> } <em>prog2...</em>
</pre>
<ul>
- <li> <tt>backtick</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 saves its
output in memory. This output must not contain a null character. </li>
- <li><tt>backtick</tt> execs into <em>prog2...</em>, with
+ <li><tt>`</tt> execs into <em>prog2...</em>, with
<em>variable</em> added to the environment with <em>prog1...</em>'s
output as a value. </li>
</ul>
@@ -51,14 +51,14 @@ output. </li>
</ul>
<p>
- The other options tell backtick what to do if <em>prog1...</em>'s output
+ The other options tell ` what to do if <em>prog1...</em>'s output
is not suitable as the contents of an environment variable (i.e. it
contains a null character) or if <em>prog1...</em> crashes or exits
nonzero:
</p>
<ul>
- <li> <tt>-i</tt>&nbsp;: backtick exits 1. </li>
+ <li> <tt>-i</tt>&nbsp;: ` exits 1. </li>
<li> <tt>-I</tt>&nbsp;: <em>variable</em> is <strong>removed</strong> from
the environment, and execution proceeds. </li>
<li> <tt>-D&nbsp;<em>default</em></tt>&nbsp;: the value of <em>variable</em>
@@ -72,7 +72,7 @@ then execution proceeds. </li>
<h2> Notes </h2>
<ul>
- <li> You can start <em>prog2...</em> with "importas -u <em>variable</em> <em>variable</em>"
+ <li> You can start <em>prog2...</em> with "$ -u <em>variable</em> <em>variable</em>"
to perform variable substitution. </li>
</ul>