diff options
Diffstat (limited to 'doc/backtick.html')
-rw-r--r-- | doc/backtick.html | 22 |
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> : backtick exits 1. </li> + <li> <tt>-i</tt> : ` exits 1. </li> <li> <tt>-I</tt> : <em>variable</em> is <strong>removed</strong> from the environment, and execution proceeds. </li> <li> <tt>-D <em>default</em></tt> : 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> |