migration from private to rsa
[external/bash.git] / debian / patches / man-test2-doc.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 -p0 < $0;;
11     -unpatch) patch $pdir -f --no-backup-if-mismatch -R -p0 < $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 --- doc/bashref.texi~   2005-09-09 19:51:31.150172600 +0000
21 +++ doc/bashref.texi    2005-09-09 19:52:12.693857000 +0000
22 @@ -5264,6 +5264,10 @@
23  Unless otherwise specified, primaries that operate on files follow symbolic
24  links and operate on the target of the link, rather than the link itself.
25  
26 +See the description of the @code{test} builtin command (section
27 +@pxref{Bash Builtins} below) for the handling of parameters
28 +(i.e. missing parameters).
29 +
30  @table @code
31  @item -a @var{file}
32  True if @var{file} exists.