3 if [ $# -eq 3 -a "$2" = '-d' ]; then
5 elif [ $# -ne 1 ]; then
6 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
10 -patch) patch $pdir -f --no-backup-if-mismatch -p0 < $0;;
11 -unpatch) patch $pdir -f --no-backup-if-mismatch -R -p0 < $0;;
13 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
18 # DP: Document handling of parameters of the test builtin.
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.
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).
32 True if @var{file} exists.