--- test.1.orig 2004-09-08 09:14:24.000000000 +0200 +++ test.1 2004-09-08 09:44:24.000000000 +0200 @@ -85,7 +85,8 @@ FILE exists and is a directory .TP \fB\-e\fR FILE -FILE exists +FILE exists, if FILE is a symbolic link the return value depends on the +existance of the file it points to .TP \fB\-f\fR FILE FILE exists and is a regular file @@ -127,10 +128,13 @@ FILE exists and its set-user-ID bit is set .TP \fB\-w\fR FILE -FILE exists and is writable +FILE exists and is writable. True indicates only that the write flag is on. +The file is not writable on a read-only file system even if this +test indicates true .TP \fB\-x\fR FILE -FILE exists and is executable +FILE exists and is executable. True indicates only that the execute flag +is on. If file is a directory, true indicates that file can be searched .PP Beware that parentheses need to be escaped (e.g., by backslashes) for shells. INTEGER may also be \fB\-l\fR STRING, which evaluates to the length of STRING.