~ubuntu-branches/ubuntu/trusty/bash/trusty-security

« back to all changes in this revision

Viewing changes to debian/patches/man-test2.diff

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-03-03 22:52:05 UTC
  • mfrom: (1.3.5) (2.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20140303225205-87ltrt5kspeq0g1b
Tags: 4.3-1ubuntu1
* Merge with Debian; remaining changes:
  - skel.bashrc:
    - Run lesspipe.
    - Enable ls aliases.
    - Set options in ll alias to -alF.
    - Define an alert alias.
    - Enabled colored grep aliases.
  - etc.bash.bashrc:
    - Add sudo hint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# DP: Document handling of parameters of the test builtin.
2
2
 
3
 
--- a/bash/builtins/test.def
4
 
+++ b/bash/builtins/test.def
5
 
@@ -98,6 +98,9 @@
 
3
Index: b/builtins/test.def
 
4
===================================================================
 
5
--- a/builtins/test.def
 
6
+++ b/builtins/test.def
 
7
@@ -99,6 +99,9 @@
6
8
 less-than, less-than-or-equal, greater-than, or greater-than-or-equal
7
9
 than ARG2.
8
10
 
12
14
 Exit Status:
13
15
 Returns success if EXPR evaluates to true; fails if EXPR evaluates to
14
16
 false or an invalid argument is given.
15
 
--- a/bash/doc/bash.1
16
 
+++ b/bash/doc/bash.1
17
 
@@ -702,6 +702,10 @@
 
17
Index: b/doc/bash.1
 
18
===================================================================
 
19
--- a/doc/bash.1
 
20
+++ b/doc/bash.1
 
21
@@ -712,6 +712,10 @@
18
22
 .if n .sp 1
19
23
 When used with \fB[[\fP, the \fB<\fP and \fB>\fP operators sort
20
24
 lexicographically using the current locale.
25
29
 .if t .sp 0.5
26
30
 .if n .sp 1
27
31
 When the \fB==\fP and \fB!=\fP operators are used, the string to the
 
32
Index: b/doc/bashref.texi
 
33
===================================================================
 
34
--- a/doc/bashref.texi
 
35
+++ b/doc/bashref.texi
 
36
@@ -6448,6 +6448,10 @@
 
37
 Unless otherwise specified, primaries that operate on files follow symbolic
 
38
 links and operate on the target of the link, rather than the link itself.
 
39
 
 
40
+See the description of the @code{test} builtin command (section
 
41
+@pxref{Bash Builtins} below) for the handling of parameters
 
42
+(i.e. missing parameters).
 
43
+
 
44
 @table @code
 
45
 @item -a @var{file}
 
46
 True if @var{file} exists.