diff options
author | charnier <charnier@FreeBSD.org> | 1998-05-18 06:51:59 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 1998-05-18 06:51:59 +0000 |
commit | d40a1af7e08585baef50c2b39e2084a2895d94f9 (patch) | |
tree | 934a5d633259fb57b60f4e0c4832781b53acaa9c /bin/test | |
parent | 50b030d998b91f966fc075e6f1ea84b00c3cc91c (diff) | |
download | FreeBSD-src-d40a1af7e08585baef50c2b39e2084a2895d94f9.zip FreeBSD-src-d40a1af7e08585baef50c2b39e2084a2895d94f9.tar.gz |
Correct use of .Nm. Add rcsid.
Diffstat (limited to 'bin/test')
-rw-r--r-- | bin/test/operators.c | 8 | ||||
-rw-r--r-- | bin/test/test.1 | 14 | ||||
-rw-r--r-- | bin/test/test.c | 8 |
3 files changed, 17 insertions, 13 deletions
diff --git a/bin/test/operators.c b/bin/test/operators.c index e75c84a..d21ec03 100644 --- a/bin/test/operators.c +++ b/bin/test/operators.c @@ -29,12 +29,14 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $Id$ */ #ifndef lint -static char const sccsid[] = "@(#)operators.c 8.3 (Berkeley) 4/2/94"; +#if 0 +static char sccsid[] = "@(#)operators.c 8.3 (Berkeley) 4/2/94"; +#endif +static const char rcsid[] = + "$Id$"; #endif /* not lint */ /* diff --git a/bin/test/test.1 b/bin/test/test.1 index fd8f999..d6125a4 100644 --- a/bin/test/test.1 +++ b/bin/test/test.1 @@ -33,7 +33,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)test.1 8.1 (Berkeley) 5/31/93 -.\" $Id: test.1,v 1.4 1997/02/22 14:06:23 peter Exp $ +.\" $Id: test.1,v 1.5 1997/06/02 06:33:51 charnier Exp $ .\" .Dd May 31, 1993 .Dt TEST 1 @@ -46,7 +46,7 @@ .Ar expression .Sh DESCRIPTION The -.Nm test +.Nm utility evaluates the expression and, if it evaluates to true, returns a zero (true) exit status; otherwise it returns 1 (false). @@ -54,11 +54,11 @@ If there is no expression, test also returns 1 (false). .Pp All operators and flags are separate arguments to the -.Nm test +.Nm utility. .Pp The following primaries are used to construct expression: -.Bl -tag -width Ar +.Bl -tag -width indent .It Fl b Ar file True if .Ar file @@ -228,7 +228,7 @@ operator has higher precedence than the operator. .Sh GRAMMAR AMBIGUITY The -.Nm test +.Nm grammar is inherently ambiguous. In order to assure a degree of consistency, the cases described in the .St -p1003.2 , @@ -238,7 +238,7 @@ standards document. All other cases are subject to the ambiguity in the command semantics. .Sh RETURN VALUES The -.Nm test +.Nm utility exits with one of the following values: .Bl -tag -width Ds .It 0 @@ -251,7 +251,7 @@ An error occurred. .El .Sh STANDARDS The -.Nm test +.Nm function is expected to be .St -p1003.2 compatible. diff --git a/bin/test/test.c b/bin/test/test.c index d74b299..16f8042 100644 --- a/bin/test/test.c +++ b/bin/test/test.c @@ -32,8 +32,6 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $Id: test.c,v 1.17 1997/02/22 14:06:25 peter Exp $ */ #ifndef lint @@ -43,7 +41,11 @@ static char const copyright[] = #endif /* not lint */ #ifndef lint -static char const sccsid[] = "@(#)test.c 8.3 (Berkeley) 4/2/94"; +#if 0 +static char sccsid[] = "@(#)test.c 8.3 (Berkeley) 4/2/94"; +#endif +static const char rcsid[] = + "$Id$"; #endif /* not lint */ #include <sys/param.h> |