diff options
author | Tony Wang <wwwjfy@gmail.com> | 2013-08-23 22:54:24 +0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-08-25 15:54:06 -0700 |
commit | 1d67d8ff23669814ed92d5d328a65174bfc72efd (patch) | |
tree | cb80cc56ce83a3e3cdae8dfcef295ec65817ff5c /doc_src | |
parent | 9f46881c16af03b52b9daba7c645100f180b7a8f (diff) |
add -O and -G to test command
they are available on Linux and OS X, and now ported to fish
Diffstat (limited to 'doc_src')
-rw-r--r-- | doc_src/test.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc_src/test.txt b/doc_src/test.txt index fc64118e..03567132 100644 --- a/doc_src/test.txt +++ b/doc_src/test.txt @@ -16,7 +16,9 @@ The following operators are available to examine files and directories: - <tt>-e FILE</tt> returns true if \c FILE exists. - <tt>-f FILE</tt> returns true if \c FILE is a regular file. - <tt>-g FILE</tt> returns true if \c FILE has the set-group-ID bit set. +- <tt>-G FILE</tt> returns true if \c FILE exists and its group matches the effective group id of this process. - <tt>-L FILE</tt> returns true if \c FILE is a symbolic link. +- <tt>-O FILE</tt> returns true if \c FILE exists and its owner matches the effective user id of this process. - <tt>-p FILE</tt> returns true if \c FILE is a named pipe. - <tt>-r FILE</tt> returns true if \c FILE is marked as readable. - <tt>-s FILE</tt> returns true if the size of \c FILE is greater than zero. |