From 44be69112c71fe65784cc014995044c2a191a449 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 14 Feb 2021 15:10:15 +0000 Subject: Apply doc fixes by flexibeast and suggestions by Profpatsch&aranea --- doc/dieshdiedie.html | 6 +++--- doc/el_semicolon.html | 2 +- doc/el_substitute.html | 2 +- doc/elgetpositionals.html | 2 +- doc/execline-shell.html | 4 ++-- doc/execlineb.html | 8 ++++---- doc/exitcodes.html | 6 +++--- doc/export.html | 2 +- doc/fdmove.html | 11 ++++++++--- doc/fdreserve.html | 2 +- doc/getcwd.html | 2 +- doc/getpid.html | 2 +- doc/grammar.html | 4 ++-- doc/index.html | 6 +++--- doc/trap.html | 2 +- 15 files changed, 33 insertions(+), 28 deletions(-) (limited to 'doc') diff --git a/doc/dieshdiedie.html b/doc/dieshdiedie.html index 34e4db4..383bcea 100644 --- a/doc/dieshdiedie.html +++ b/doc/dieshdiedie.html @@ -16,7 +16,7 @@ skarnet.org

-

Why not just use /bin/sh ?

+

Why not just use /bin/sh?

@@ -175,9 +175,9 @@ genius to understand the simplicity", that's because incompetent people took advantage of the huge Unix flexibility to write insanely crappy or complex software. System administrators can only do a decent job when they understand how the programs they run are supposed to work. People -are slowly starting to grasp this (or are they ? We finally managed +are slowly starting to grasp this (or are they? We finally managed to get rid of sendmail and BIND, but GNU/Linux users seem happy to -welcome the era of D-Bus and systemd. Will we ever learn ?) - but even +welcome the era of D-Bus and systemd. Will we ever learn?) - but even sh, a seemingly simple and basic Unix program, is hard to understand when you lift the cover.

diff --git a/doc/el_semicolon.html b/doc/el_semicolon.html index 31446fe..6519faa 100644 --- a/doc/el_semicolon.html +++ b/doc/el_semicolon.html @@ -112,7 +112,7 @@ produce empty words, which may modify your script's execution flow.

You can use the EXECLINE_STRICT environment variable to check proper block quoting. If that variable contains 1, -commands that read blocks will print a warning message everytime +commands that read blocks will print a warning message every time they find an unquoted argument inside a block. If that variable contains 2 or a bigger integer, commands will print an error message and die on unquoted arguments. diff --git a/doc/el_substitute.html b/doc/el_substitute.html index 3bb56a2..6e6decb 100644 --- a/doc/el_substitute.html +++ b/doc/el_substitute.html @@ -100,7 +100,7 @@ be substituted, or don't be substituted.

  • The default (unquoted) action should be: substitute.
  • A sequence that means "do not substitute" should be able to appear literally. The quote character should also be able to -appear literally before a sequence that means "substitute". (Tricky, eh ?)
  • +appear literally before a sequence that means "substitute". (Tricky, eh?)
  • There should be as few quote characters as possible, to avoid shell-like quoting nightmares.
  • diff --git a/doc/elgetpositionals.html b/doc/elgetpositionals.html index 494a69b..88e7b48 100644 --- a/doc/elgetpositionals.html +++ b/doc/elgetpositionals.html @@ -68,7 +68,7 @@ equivalent to having -P 0.