From 77a47b2c5e7c3243743bd8d7594366f498e9cef7 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 16 Mar 2018 08:18:53 +0000 Subject: More modifications, and doc change --- doc/background.html | 18 ++++---- doc/backtick.html | 22 ++++----- doc/componentsb.txt | 4 +- doc/define.html | 18 ++++---- doc/dollarat.html | 34 ++++++++------ doc/el_pushenv.html | 6 +-- doc/el_semicolon.html | 14 +++--- doc/el_substitute.html | 28 +++++------ doc/el_transform.html | 6 +-- doc/elgetpositionals.html | 2 +- doc/elglob.html | 18 ++++---- doc/execlineb.html | 2 +- doc/fdclose.html | 16 +++---- doc/fdmove.html | 20 ++++---- doc/fdreserve.html | 12 ++--- doc/fdswap.html | 16 +++---- doc/forbacktickx.html | 4 +- doc/foreground.html | 24 +++++----- doc/forstdin.html | 2 +- doc/forx.html | 2 +- doc/getpid.html | 14 +++--- doc/grammar.html | 6 +-- doc/heredoc.html | 18 ++++---- doc/homeof.html | 14 +++--- doc/if.html | 28 +++++------ doc/ifte.html | 2 +- doc/import.html | 4 +- doc/importas.html | 24 +++++----- doc/index.html | 37 +++++++-------- doc/multisubstitute.html | 16 +++---- doc/pipeline.html | 18 ++++---- doc/quine-dam.txt | 102 ++++++++++++++++++++--------------------- doc/quine-jriou.txt | 28 ----------- doc/quine-prj-2.txt | 16 +++---- doc/quine-prj-3.txt | 16 +++---- doc/quine-prj.txt | 16 +++---- doc/redirfd.html | 36 +++++++-------- doc/trap.html | 2 +- doc/withstdinas.html | 2 +- examples/etc/execline-shell | 18 ++++---- examples/etc/execline-startup | 4 +- src/execline/forbacktickx.c | 6 +-- src/execline/multisubstitute.c | 6 +-- src/libexecline/exlsn_import.c | 2 +- 44 files changed, 338 insertions(+), 365 deletions(-) delete mode 100644 doc/quine-jriou.txt diff --git a/doc/background.html b/doc/background.html index 8656b04..f06de3d 100644 --- a/doc/background.html +++ b/doc/background.html @@ -3,9 +3,9 @@ - execline: the background command - - + execline: the & command + + @@ -16,9 +16,9 @@ skarnet.org

-

The background program

+

The & program

-background launches a command in the background, then goes on +& launches a command in the background, then goes on with the execution flow.

Interface

@@ -28,11 +28,11 @@ with the execution flow.

-     background [ -d ] { prog1... } prog2...
+     & [ -d ] { prog1... } prog2...
 

- The other options tell backtick what to do if prog1...'s output + The other options tell ` what to do if prog1...'s output is not suitable as the contents of an environment variable (i.e. it contains a null character) or if prog1... crashes or exits nonzero:

diff --git a/doc/heredoc.html b/doc/heredoc.html index dd68a3f..002ffaa 100644 --- a/doc/heredoc.html +++ b/doc/heredoc.html @@ -3,9 +3,9 @@ - execline: the heredoc program - - + execline: the << program + + @@ -16,21 +16,21 @@ skarnet.org

-

The heredoc program

+

The << program

-heredoc runs a command with a certain string fed to a +<< runs a command with a certain string fed to a file descriptor.

Interface

-     heredoc [ -d ] fd string prog...
+     << [ -d ] fd string prog...