Skip to content

Commit

Permalink
Sync some manuals from bin & sbin with NetBSD-8
Browse files Browse the repository at this point in the history
Grammar fixes.
Add/correct HISTORY section.

closes #276

Change-Id: I0640104acea9be90f4cbbda34abfb47c8a0b753b
  • Loading branch information
sevan authored and sambuc committed Nov 13, 2018
1 parent 8e97a2d commit 93184c8
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 21 deletions.
6 changes: 3 additions & 3 deletions bin/sync/sync.8
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -69,4 +69,4 @@ system call.
A
.Nm
command appeared in
.At v6 .
.At v4 .
11 changes: 8 additions & 3 deletions bin/test/test.1
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
16 changes: 12 additions & 4 deletions sbin/chown/chown.8
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions sbin/mknod/mknod.8
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -216,7 +216,7 @@ block and character major numbers.
A
.Nm
command appeared in
.At v6 .
.At v4 .
The
.Fl F
option appeared in
Expand Down
9 changes: 6 additions & 3 deletions sbin/nologin/nologin.8
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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
Expand All @@ -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 [email protected] .
12 changes: 7 additions & 5 deletions sbin/shutdown/shutdown.8
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 .

0 comments on commit 93184c8

Please sign in to comment.