12/18/22 15:53, Stefan Hagen пишет:
Ross L Richardson wrote (2022-12-18 10:55 CET):
The word "array" occurs only once in sh.1. Therefore, either it deserves
more explanation, or removal with something like the patch below.
I think you're right. This looks like an oversight from the works when
sh(1) was rewritten / split from ksh(1) in 2015.
OK sdk@
Agreed, I'd say go ahead.
Ross
==
--- sh.1.orig Thu Sep 1 10:07:22 2022
+++ sh.1 Sun Dec 18 20:47:53 2022
@@ -1390,7 +1390,7 @@
.Pp
Where
.Ar expression
-is an integer, parameter name, or array reference,
+is an integer or parameter name,
optionally combined with any of the operators described below,
listed and grouped according to precedence:
.Bl -tag -width Ds