[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug#270594: coreutils: Test manpage improvements (-e, -w and -x)

From: Paul Eggert
Subject: Re: Bug#270594: coreutils: Test manpage improvements (-e, -w and -x)
Date: Wed, 08 Sep 2004 21:17:01 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Thanks for the documentation-improvement suggestion.  I installed the
following (terser) patch.

Index: doc/coreutils.texi
RCS file: /home/eggert/coreutils/cu/doc/coreutils.texi,v
retrieving revision 1.208
diff -p -u -r1.208 coreutils.texi
--- doc/coreutils.texi  9 Sep 2004 03:54:13 -0000       1.208
+++ doc/coreutils.texi  9 Sep 2004 04:09:10 -0000
@@ -9478,6 +9478,8 @@ True if @var{file} exists and is a regul
 @opindex -h
 @cindex symbolic link check
 True if @var{file} exists and is a symbolic link.
+Unlike all other file-related tests, this test does not dereference
address@hidden if it is a symbolic link.
 @item -p @var{file}
 @opindex -p
Index: src/test.c
RCS file: /home/eggert/coreutils/cu/src/test.c,v
retrieving revision 1.106
diff -p -u -r1.106 test.c
--- src/test.c  9 Sep 2004 03:53:54 -0000       1.106
+++ src/test.c  9 Sep 2004 04:12:16 -0000
@@ -907,6 +907,7 @@ EXPRESSION is true or false and sets exi
 "), stdout);
       fputs (_("\
+Except for -h and -L, all FILE-related tests dereference symbolic links.\n\
 Beware that parentheses need to be escaped (e.g., by backslashes) for 
 INTEGER may also be -l STRING, which evaluates to the length of STRING.\n\
 "), stdout);

reply via email to

[Prev in Thread] Current Thread [Next in Thread]