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 conditional file expressions acting on the target of
19 # DP: symbolic links as well (except -h, -L).
21 --- builtins/test.def~ 2002-04-04 21:48:17.000000000 +0200
22 +++ builtins/test.def 2004-10-16 19:51:24.000000000 +0200
25 FILE1 -ef FILE2 True if file1 is a hard link to file2.
27 +All file operators except -h and -L are acting on the target of a symbolic
28 +link, not on the symlink itself, if FILE is a symbolic link.
32 -z STRING True if string is empty.