From: Sevan Janiyan Date: Sun, 4 Nov 2018 15:06:13 +0000 (+0000) Subject: Sync some manuals from bin & sbin with NetBSD-8 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=93184c84570653a2ed30858e700fd7e667703905;p=minix.git Sync some manuals from bin & sbin with NetBSD-8 Grammar fixes. Add/correct HISTORY section. closes #276 Change-Id: I0640104acea9be90f4cbbda34abfb47c8a0b753b --- diff --git a/bin/sync/sync.8 b/bin/sync/sync.8 index a0e65135d..d3ca6d8e3 100644 --- a/bin/sync/sync.8 +++ b/bin/sync/sync.8 @@ -1,4 +1,4 @@ -.\" $NetBSD: sync.8,v 1.15 2003/08/07 09:05:42 agc Exp $ +.\" $NetBSD: sync.8,v 1.16 2016/08/12 02:59:23 sevan Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)sync.8 8.1 (Berkeley) 5/31/93 .\" -.Dd May 31, 1993 +.Dd August 12, 2016 .Dt SYNC 8 .Os .Sh NAME @@ -69,4 +69,4 @@ system call. A .Nm command appeared in -.At v6 . +.At v4 . diff --git a/bin/test/test.1 b/bin/test/test.1 index 2a7fce7bd..6ea7d6dbe 100644 --- a/bin/test/test.1 +++ b/bin/test/test.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: test.1,v 1.28 2012/12/16 17:57:49 wiz Exp $ +.\" $NetBSD: test.1,v 1.30 2016/08/12 03:17:41 sevan Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)test.1 8.1 (Berkeley) 5/31/93 .\" -.Dd December 16, 2012 +.Dd August 12, 2016 .Dt TEST 1 .Os .Sh NAME @@ -275,7 +275,7 @@ True if either .Ar expression1 or .Ar expression2 -are true. +is true. .It Cm \&( Ar expression Cm \&) True if .Ar expression @@ -313,6 +313,11 @@ The utility implements a superset of the .St -p1003.2 specification. +.Sh HISTORY +A +.Nm +utility appeared in +.At v7 . .Sh CAVEATS The .Nm diff --git a/sbin/chown/chown.8 b/sbin/chown/chown.8 index bd8209a03..b6c2c9f2d 100644 --- a/sbin/chown/chown.8 +++ b/sbin/chown/chown.8 @@ -26,9 +26,9 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)chown.8 8.3 (Berkeley) 3/31/94 -.\" $NetBSD: chown.8,v 1.7 2013/12/17 09:54:08 apb Exp $ +.\" $NetBSD: chown.8,v 1.10 2016/09/11 01:23:26 sevan Exp $ .\" -.Dd October 22, 2012 +.Dd September 11, 2016 .Dt CHOWN 8 .Os .Sh NAME @@ -62,6 +62,9 @@ .Sh DESCRIPTION .Nm sets the user ID and/or the group ID of the specified files. +Symbolic links named by arguments are silently left unchanged unless +.Fl h +is used. .Pp The options are as follows: .Bl -tag -width Ds @@ -82,7 +85,7 @@ option is specified, no symbolic links are followed. Change the user ID and/or the group ID for the file hierarchies rooted in the files instead of just the files themselves. .It Fl f -Don't report any failure to change file owner or group, nor modify +Do not report any failure to change file owner or group, nor modify the exit status to reflect such failures. .It Fl h If @@ -135,7 +138,7 @@ The .Ar group may be either a group name or a numeric group ID. Since it is valid to have a user or group name that is numeric (and -doesn't have the numeric ID that matches its name) the name lookup +does not have the numeric ID that matches its name) the name lookup is always done first. Preceding an ID with a ``#'' character will force it to be taken as a number. @@ -166,6 +169,11 @@ group names may contain the dot character. .Xr lchown 2 , .Xr fts 3 , .Xr symlink 7 +.Sh HISTORY +A +.Nm +utility appeared in +.At v1 . .Sh STANDARDS The .Nm diff --git a/sbin/mknod/mknod.8 b/sbin/mknod/mknod.8 index b0d2a9515..ef10d96a2 100644 --- a/sbin/mknod/mknod.8 +++ b/sbin/mknod/mknod.8 @@ -1,4 +1,4 @@ -.\" $NetBSD: mknod.8,v 1.28 2004/06/17 21:30:14 dsl Exp $ +.\" $NetBSD: mknod.8,v 1.29 2016/09/11 23:02:54 sevan Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)mknod.8 8.2 (Berkeley) 12/11/93 .\" -.Dd June 17, 2004 +.Dd September 12, 2016 .Dt MKNOD 8 .Os .Sh NAME @@ -216,7 +216,7 @@ block and character major numbers. A .Nm command appeared in -.At v6 . +.At v4 . The .Fl F option appeared in diff --git a/sbin/nologin/nologin.8 b/sbin/nologin/nologin.8 index 96293692b..87e13b26a 100644 --- a/sbin/nologin/nologin.8 +++ b/sbin/nologin/nologin.8 @@ -1,4 +1,4 @@ -.\" $NetBSD: nologin.8,v 1.9 2003/08/07 10:04:35 agc Exp $ +.\" $NetBSD: nologin.8,v 1.10 2016/09/12 05:23:32 sevan Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)nologin.8 8.1 (Berkeley) 6/19/93 .\" -.Dd June 19, 1993 +.Dd September 12, 2016 .Dt NOLOGIN 8 .Os .Sh NAME @@ -52,4 +52,7 @@ command appeared in .Bx 4.4 , a free re-implementation was contributed in .Nx 1.5 -by Hubert Feyrer to avoid bloat through the copyright comment. +to avoid bloat through the copyright comment. +.Sh AUTHORS +Re-implementation by +.An Hubert Feyrer Aq Mt hubertf@NetBSD.org . diff --git a/sbin/shutdown/shutdown.8 b/sbin/shutdown/shutdown.8 index 8f3b7d524..9368dc921 100644 --- a/sbin/shutdown/shutdown.8 +++ b/sbin/shutdown/shutdown.8 @@ -1,4 +1,4 @@ -.\" $NetBSD: shutdown.8,v 1.31 2011/10/04 07:25:34 dholland Exp $ +.\" $NetBSD: shutdown.8,v 1.33 2016/09/14 00:16:31 kre Exp $ .\" .\" Copyright (c) 1988, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)shutdown.8 8.2 (Berkeley) 4/27/95 .\" -.Dd October 4, 2011 +.Dd September 12, 2016 .Dt SHUTDOWN 8 .Os .Sh NAME @@ -237,7 +237,9 @@ System shutdown commands The hours and minutes in the second time format may be separated by a colon (``:'') for backward compatibility. .Sh HISTORY -The +A .Nm -command appeared in -.Bx 4.0 . +command was originally written by Ian Johnstone for UNSW's modified +.At "6th Edn" , +modified, and then incorporated in +.Bx 4.1 .