diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/backtick.html | 14 | ||||
-rw-r--r-- | doc/forbacktickx.html | 7 | ||||
-rw-r--r-- | doc/forstdin.html | 7 | ||||
-rw-r--r-- | doc/forx.html | 7 | ||||
-rw-r--r-- | doc/getcwd.html | 12 | ||||
-rw-r--r-- | doc/getpid.html | 12 | ||||
-rw-r--r-- | doc/withstdinas.html | 7 |
7 files changed, 52 insertions, 14 deletions
diff --git a/doc/backtick.html b/doc/backtick.html index 1f77432..91e963a 100644 --- a/doc/backtick.html +++ b/doc/backtick.html @@ -30,7 +30,7 @@ environment variable, then executes another program. </p> <pre> - backtick [ -i | -I | -D <em>default</em> ] [ -N | -n ] <em>variable</em> { <em>prog1...</em> } <em>prog2...</em> + backtick [ -i | -I | -D <em>default</em> ] [ -N | -n ] [ -E | -e ] <em>variable</em> { <em>prog1...</em> } <em>prog2...</em> </pre> <ul> @@ -48,6 +48,11 @@ output as a value. </li> <ul> <li> <tt>-N</tt> : store <em>prog1...</em>'s output as is, including the last newline, if any. </li> <li> <tt>-n</tt> : chomp an ending newline off <em>prog1...</em>'s output. This is the default. </li> + <li> <tt>-e</tt> : no autoimport. This is the default. </li> + <li> <tt>-E</tt> : autoimport. Instead of exec'ing into +<em>prog2...</em>, exec into <tt>importas -ui <em>variable</em> <em>variable</em> +<em>prog2...</em></tt>. This substitutes <em>variable</em> into the command +line instead of putting it into the environment. </li> </ul> <p> @@ -69,12 +74,5 @@ or to whatever <em>prog1...</em> wrote before crashing; then execution proceeds. </li> </ul> -<h2> Notes </h2> - -<ul> - <li> You can start <em>prog2...</em> with "importas -u <em>variable</em> <em>variable</em>" -to perform variable substitution. </li> -</ul> - </body> </html> diff --git a/doc/forbacktickx.html b/doc/forbacktickx.html index d28ad0b..cbf33b5 100644 --- a/doc/forbacktickx.html +++ b/doc/forbacktickx.html @@ -30,7 +30,7 @@ run another program. </p> <pre> - forbacktickx [ -p | -o <em>okcodes</em> | -x <em>breakcodes</em> ] [ -N | -n ] [ -C | -c ] [ -0 | -d <em>delim</em> ] <em>variable</em> { <em>gen...</em> } <em>loop...</em> + forbacktickx [ -E | -e ] [ -p | -o <em>okcodes</em> | -x <em>breakcodes</em> ] [ -N | -n ] [ -C | -c ] [ -0 | -d <em>delim</em> ] <em>variable</em> { <em>gen...</em> } <em>loop...</em> </pre> <ul> @@ -65,6 +65,11 @@ not listed in <em>okcodes</em>, forbacktickx will exit immediately with an option, but with inverted meaning - the listed exit codes are codes that will make forbacktickx break the loop and exit, and the unlisted exit codes will make it keep looping. </li> + <li> <tt>-e</tt> : no autoimport. This is the default. </li> + <li> <tt>-E</tt> : autoimport. Instead of spawning +<em>loop...</em>, spawn <tt>importas -ui <em>variable</em> <em>variable</em> +<em>loop...</em></tt>. This substitutes <em>variable</em> into the command +line instead of putting it into the environment. </li> </ul> <p> diff --git a/doc/forstdin.html b/doc/forstdin.html index 74644b4..3b00d7d 100644 --- a/doc/forstdin.html +++ b/doc/forstdin.html @@ -30,7 +30,7 @@ run another program. </p> <pre> - forstdin [ -p | -o <em>okcodes</em> | -x <em>breakcodes</em> ] [ -N | -n ] [ -C | -c ] [ -0 | -d <em>delim</em> ] <em>variable</em> <em>loop...</em> + forstdin [ -E | -e ] [ -p | -o <em>okcodes</em> | -x <em>breakcodes</em> ] [ -N | -n ] [ -C | -c ] [ -0 | -d <em>delim</em> ] <em>variable</em> <em>loop...</em> </pre> <ul> @@ -61,6 +61,11 @@ not listed in <em>okcodes</em>, forstdin will exit immediately with an option, but with inverted meaning - the listed exit codes are codes that will make forstdin break the loop and exit, and the unlisted exit codes will make it keep looping. </li> + <li> <tt>-e</tt> : no autoimport. This is the default. </li> + <li> <tt>-E</tt> : autoimport. Instead of spawning +<em>loop...</em>, spawn <tt>importas -ui <em>variable</em> <em>variable</em> +<em>loop...</em></tt>. This substitutes <em>variable</em> into the command +line instead of putting it into the environment. </li> </ul> <p> diff --git a/doc/forx.html b/doc/forx.html index 1c2a61c..8f1d558 100644 --- a/doc/forx.html +++ b/doc/forx.html @@ -29,7 +29,7 @@ </p> <pre> - forx [ -p ] [ -o <em>okcodes</em> | -x <em>breakcodes</em> ] <em>variable</em> { <em>args...</em> } <em>loop...</em> + forx [ -E | -e ] [ -p ] [ -o <em>okcodes</em> | -x <em>breakcodes</em> ] <em>variable</em> { <em>args...</em> } <em>loop...</em> </pre> <ul> @@ -63,6 +63,11 @@ will exit 0 if all of the exit codes are in the values listed in the <em>okcodes list, else it will exit 1. If the <tt>-x</tt> option has been given, <tt>forx</tt> will exit 0 if none of the exit codes are in the values listed in the <em>breakcodes</em> list, else it will exit 1. </li> + <li> <tt>-e</tt> : no autoimport. This is the default. </li> + <li> <tt>-E</tt> : autoimport. Instead of spawning +<em>loop...</em>, spawn <tt>importas -ui <em>variable</em> <em>variable</em> +<em>loop...</em></tt>. This substitutes <em>variable</em> into the command +line instead of putting it into the environment. </li> </ul> <h2> Notes </h2> diff --git a/doc/getcwd.html b/doc/getcwd.html index 9735630..d3e7e27 100644 --- a/doc/getcwd.html +++ b/doc/getcwd.html @@ -27,7 +27,7 @@ then executes a program. <h2> Interface </h2> <pre> - getcwd <em>var</em> <em>prog...</em> + getcwd [ -E | -e ] <em>var</em> <em>prog...</em> </pre> <p> @@ -37,6 +37,16 @@ into the <em>var</em> variable, then execs into <em>prog</em> with its arguments. </p> +<h2> Options </h2> + +<ul> + <li> <tt>-e</tt> : no autoimport. This is the default. </li> + <li> <tt>-E</tt> : autoimport. Instead of exec'ing into +<em>prog...</em>, exec into <tt>importas -ui <em>var</em> <em>var</em> +<em>prog...</em></tt>. This substitutes <em>var</em> into the command +line instead of putting it into the environment. </li> +</ul> + <h2> Notes </h2> <ul> diff --git a/doc/getpid.html b/doc/getpid.html index ca363df..5a849e8 100644 --- a/doc/getpid.html +++ b/doc/getpid.html @@ -26,7 +26,7 @@ then executes a program. <h2> Interface </h2> <pre> - getpid <em>var</em> <em>prog...</em> + getpid [ -E | -e ] <em>var</em> <em>prog...</em> </pre> <p> @@ -34,6 +34,16 @@ then executes a program. execs into <em>prog</em> with its arguments. </p> +<h2> Options </h2> + +<ul> + <li> <tt>-e</tt> : no autoimport. This is the default. </li> + <li> <tt>-E</tt> : autoimport. Instead of exec'ing into +<em>prog...</em>, exec into <tt>importas -ui <em>var</em> <em>var</em> +<em>prog...</em></tt>. This substitutes <em>var</em> into the command +line instead of putting it into the environment. </li> +</ul> + <h2> Notes </h2> <ul> diff --git a/doc/withstdinas.html b/doc/withstdinas.html index ccd69d7..5b9e653 100644 --- a/doc/withstdinas.html +++ b/doc/withstdinas.html @@ -31,7 +31,7 @@ environment variable. </p> <pre> - withstdinas [ -i | -I | -D <em>default</em> ] [ -N | -n ] <em>variable</em> <em>prog...</em> + withstdinas [ -i | -I | -D <em>default</em> ] [ -N | -n ] [ -E | -e ] <em>variable</em> <em>prog...</em> </pre> <ul> @@ -46,6 +46,11 @@ environment variable. <ul> <li> <tt>-N</tt> : do not chomp an ending newline off stdin. </li> <li> <tt>-n</tt> : chomp an ending newline off stdin. This is the default. </li> + <li> <tt>-e</tt> : no autoimport. This is the default. </li> + <li> <tt>-E</tt> : autoimport. Instead of exec'ing into +<em>prog...</em>, exec into <tt>importas -ui <em>variable</em> <em>variable</em> +<em>prog...</em></tt>. This substitutes <em>variable</em> into the command +line instead of putting it into the environment. </li> </ul> <p> |