diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-02-21 16:44:45 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-02-21 16:44:45 +0000 |
commit | 2a20d577fef65f778b381e4f97829737b52af2c6 (patch) | |
tree | f3753f4fd818945fead85be88de7ecd99954dcae /bin/test/test.1 | |
parent | c096e6e7dac4e2ba2276ea6c87266db7a9a6be73 (diff) |
order options; from Igor Sobrado
Diffstat (limited to 'bin/test/test.1')
-rw-r--r-- | bin/test/test.1 | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/bin/test/test.1 b/bin/test/test.1 index 2bc784c05ea..f04bccf6977 100644 --- a/bin/test/test.1 +++ b/bin/test/test.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: test.1,v 1.19 2006/12/15 12:09:18 jmc Exp $ +.\" $OpenBSD: test.1,v 1.20 2007/02/21 16:44:44 jmc Exp $ .\" $NetBSD: test.1,v 1.6 1995/03/21 07:04:03 cgd Exp $ .\" .\" Copyright (c) 1991, 1993 @@ -89,6 +89,10 @@ exists (regardless of type). True if .Ar file exists and is a regular file. +.It Fl G Ar file +True if +.Ar file +exists and its group matches the effective group ID of this process. .It Fl g Ar file True if .Ar file @@ -102,10 +106,23 @@ exists and is a symbolic link. True if .Ar file exists and its sticky bit is set. +.It Fl L Ar file +True if +.Ar file +exists and is a symbolic link. +This operator is for compatibility purposes. +Do not rely on its existence; +use +.Fl h +instead. .It Fl n Ar string True if the length of .Ar string is nonzero. +.It Fl O Ar file +True if +.Ar file +exists and its owner matches the effective user ID of this process. .It Fl p Ar file True if .Ar file @@ -115,6 +132,10 @@ is a named pipe True if .Ar file exists and is readable. +.It Fl S Ar file +True if +.Ar file +exists and is a socket. .It Fl s Ar file True if .Ar file @@ -153,27 +174,6 @@ can be searched. True if the length of .Ar string is zero. -.It Fl L Ar file -True if -.Ar file -exists and is a symbolic link. -This operator is for compatibility purposes. -Do not rely on its existence; -use -.Fl h -instead. -.It Fl O Ar file -True if -.Ar file -exists and its owner matches the effective user ID of this process. -.It Fl G Ar file -True if -.Ar file -exists and its group matches the effective group ID of this process. -.It Fl S Ar file -True if -.Ar file -exists and is a socket. .It Ar file1 Fl nt Ar file2 True if .Ar file1 |