mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-28 01:11:15 -03:00
add -O and -G to test command
they are available on Linux and OS X, and now ported to fish
This commit is contained in:
committed by
ridiculousfish
parent
9f46881c16
commit
1d67d8ff23
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user