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(-) 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: