File: man-test2.diff

package info (click to toggle)
bash 4.2%2Bdfsg-0.1%2Bdeb7u3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,308 kB
  • sloc: ansic: 452; sh: 418; makefile: 385
file content (27 lines) | stat: -rw-r--r-- 886 bytes parent folder | download
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