From 5096aa07bfdbe0884bd9c9c613c0ab72027a19b6 Mon Sep 17 00:00:00 2001
From: Laurent Bercot
Date: Thu, 5 Jan 2023 19:39:38 +0000
Subject: Doc typo fixes
Signed-off-by: Laurent Bercot
---
doc/eltest.html | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
(limited to 'doc/eltest.html')
diff --git a/doc/eltest.html b/doc/eltest.html
index 068cd4c..2fa275c 100644
--- a/doc/eltest.html
+++ b/doc/eltest.html
@@ -47,8 +47,7 @@ The extensions to POSIX test are listed below.
eltest accepts an arbitrary number of arguments and, if the expression is
-valid, always returns the result of the expression no matter how complex it
-is.
+valid, always returns the result of the expression no matter how complex it is.
Exit codes
@@ -114,7 +113,7 @@ which has different fixed syntax trees depending on the number of arguments it r
has undefined behaviour when called with more than 5 arguments, eltest accepts any
number of arguments and builds its syntax trees on the fly. This means that expressions such
as -n = -n cannot be automatically disambiguated: eltest does not know that
-there are 3 arguments, so when it reads the first -n it assumes that it is an unary
+there are 3 arguments, so when it reads the first -n it assumes that it is a unary
operator, then when it reads = it assumes it is the argument to -n, then
when it reads the second -n it exits with a syntax error.
@@ -133,7 +132,7 @@ operands are never mistaken for operators:
- - An word that looks like an operator will always be interpreted like an operator.
+
- A word that looks like an operator will always be interpreted like an operator.
So, expressions like -n = -n will result in a syntax error, because the
first -n will never be understood as data for the = operator.
- A word that starts with a \ (backslash) will always be interpreted
@@ -154,7 +153,7 @@ the proper syntax would be: eltest \\${a} = \\${b}.
Note that these details are irrelevant to a huge majority of eltest use
cases, because most of the time users only need a simple test
such as eltest -r ${file} to check that $file is readable, and
-there's no possible ambiguity. So don't panic over this.
+there's no possible ambiguity. So, don't panic over this.
Notes
--
cgit v1.2.3