migration from private to rsa
[external/bash.git] / debian / patches / man-test2.dpatch
1 #! /bin/sh -e
2
3 if [ $# -eq 3 -a "$2" = '-d' ]; then
4     pdir="-d $3"
5 elif [ $# -ne 1 ]; then
6     echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
7     exit 1
8 fi
9 case "$1" in
10     -patch) patch $pdir -f --no-backup-if-mismatch -p1 < $0;;
11     -unpatch) patch $pdir -f --no-backup-if-mismatch -R -p1 < $0;;
12     *)
13         echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
14         exit 1
15 esac
16 exit 0
17
18 # DP: Document handling of parameters of the test builtin.
19
20 --- bash/builtins/test.def.orig 2008-11-29 17:41:32.000000000 +0000
21 +++ bash/builtins/test.def      2008-11-29 17:44:25.000000000 +0000
22 @@ -94,6 +94,9 @@
23  less-than, less-than-or-equal, greater-than, or greater-than-or-equal
24  than ARG2.
25  
26 +See the bash manual page bash(1) for the handling of parameters (i.e.
27 +missing parameters).
28 +
29  Exit Status:
30  Returns success if EXPR evaluates to true; fails if EXPR evaluates to
31  false or an invalid argument is given.
32 --- bash/doc/bash.1.~3~ 2009-12-30 15:45:17.063586386 +0100
33 +++ bash/doc/bash.1     2009-12-30 15:53:33.021085355 +0100
34 @@ -3843,6 +3843,10 @@
35  .if n .sp 1
36  When used with \fB[[\fP, The \fB<\fP and \fB>\fP operators sort
37  lexicographically using the current locale.
38 +.PP
39 +See the description of the \fItest\fP builtin command (section SHELL
40 +BUILTIN COMMANDS below) for the handling of parameters (i.e.
41 +missing parameters).
42  .sp 1
43  .PD 0
44  .TP