1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
# DP: Document handling of parameters of the test builtin.
--- a/bash/builtins/test.def
+++ b/bash/builtins/test.def
@@ -98,6 +98,9 @@
less-than, less-than-or-equal, greater-than, or greater-than-or-equal
than ARG2.
+See the bash manual page bash(1) for the handling of parameters (i.e.
+missing parameters).
+
Exit Status:
Returns success if EXPR evaluates to true; fails if EXPR evaluates to
false or an invalid argument is given.
--- a/bash/doc/bash.1
+++ b/bash/doc/bash.1
@@ -702,6 +702,10 @@
.if n .sp 1
When used with \fB[[\fP, the \fB<\fP and \fB>\fP operators sort
lexicographically using the current locale.
+.PP
+See the description of the \fItest\fP builtin command (section SHELL
+BUILTIN COMMANDS below) for the handling of parameters (i.e.
+missing parameters).
.if t .sp 0.5
.if n .sp 1
When the \fB==\fP and \fB!=\fP operators are used, the string to the
|