From: Sevan Janiyan Date: Tue, 26 Jun 2018 00:12:34 +0000 (+0000) Subject: Sync with manuals from netbsd-8 branch. X-Git-Url: http://zhaoyanbai.com/repos/Bv9ARM.ch03.html?a=commitdiff_plain;h=refs%2Fchanges%2F23%2F3523%2F1;p=minix.git Sync with manuals from netbsd-8 branch. Change-Id: I82fdb7486ae4f0f8f622046538806471bfb17c1d --- diff --git a/bin/chmod/chmod.1 b/bin/chmod/chmod.1 index 637d1dd8c..7c3add61a 100644 --- a/bin/chmod/chmod.1 +++ b/bin/chmod/chmod.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: chmod.1,v 1.25 2013/12/17 09:54:08 apb Exp $ +.\" $NetBSD: chmod.1,v 1.26 2016/08/11 00:10:42 sevan Exp $ .\" .\" Copyright (c) 1989, 1990, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)chmod.1 8.4 (Berkeley) 3/31/94 .\" -.Dd October 22, 2012 +.Dd August 11, 2016 .Dt CHMOD 1 .Os .Sh NAME @@ -304,6 +304,11 @@ compatible with the exception of the symbol .Dq t which is not included in that standard. +.Sh HISTORY +A +.Nm +utility appeared in +.At v1 . .Sh BUGS There's no .Ar perm diff --git a/bin/cp/cp.1 b/bin/cp/cp.1 index a742da915..a2f0ebe4a 100644 --- a/bin/cp/cp.1 +++ b/bin/cp/cp.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: cp.1,v 1.44 2015/06/28 16:22:54 wiz Exp $ +.\" $NetBSD: cp.1,v 1.45 2016/08/11 00:17:23 sevan Exp $ .\" .\" Copyright (c) 1989, 1990, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)cp.1 8.3 (Berkeley) 4/18/94 .\" -.Dd March 25, 2012 +.Dd August 11, 2016 .Dt CP 1 .Os .Sh NAME @@ -255,3 +255,8 @@ The .Fl v option is an extension to .St -p1003.2 . +.Sh HISTORY +A +.Nm +utility appeared in +.At v1 . diff --git a/bin/csh/csh.1 b/bin/csh/csh.1 index d4efebcc4..3c3763c1c 100644 --- a/bin/csh/csh.1 +++ b/bin/csh/csh.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: csh.1,v 1.52 2013/01/22 21:20:26 wiz Exp $ +.\" $NetBSD: csh.1,v 1.53 2016/08/10 17:16:47 sevan Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)csh.1 8.2 (Berkeley) 1/21/94 .\" -.Dd January 22, 2013 +.Dd August 8, 2016 .Dt CSH 1 .Os .Sh NAME @@ -2233,7 +2233,7 @@ substitutions on a single line to 20. .Sh HISTORY .Nm appeared in -.Bx 3 . +.Bx 2 . It was a first implementation of a command language interpreter incorporating a history mechanism (see .Sx History substitutions ) , diff --git a/bin/date/date.1 b/bin/date/date.1 index bf925c286..1d3e81532 100644 --- a/bin/date/date.1 +++ b/bin/date/date.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: date.1,v 1.42 2012/04/06 11:36:56 wiz Exp $ +.\" $NetBSD: date.1,v 1.44 2017/01/03 16:01:05 abhinav Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)date.1 8.3 (Berkeley) 4/28/95 .\" -.Dd November 15, 2006 +.Dd August 11, 2016 .Dt DATE 1 .Os .Sh NAME @@ -148,7 +148,7 @@ The hour of the day, from 00 to 23. .It Ar MM The minute of the hour, from 00 to 59. .It Ar SS -The second of the minute, from 00 to 61. +The second of the minute, from 00 to 60. .El .Pp Everything but the minutes is optional. @@ -244,3 +244,8 @@ The .Nm utility is expected to be compatible with .St -p1003.2 . +.Sh HISTORY +A +.Nm +utility appeared in +.At v1 . diff --git a/bin/dd/dd.1 b/bin/dd/dd.1 index c8bb68ca7..0cb69a8cb 100644 --- a/bin/dd/dd.1 +++ b/bin/dd/dd.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: dd.1,v 1.27 2015/03/18 13:30:13 wiz Exp $ +.\" $NetBSD: dd.1,v 1.32 2016/08/18 22:43:49 sevan Exp $ .\" .\" Copyright (c) 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)dd.1 8.2 (Berkeley) 1/13/94 .\" -.Dd March 18, 2015 +.Dd August 18, 2016 .Dt DD 1 .Os .Sh NAME @@ -209,7 +209,7 @@ in order to output to a nonexistent file. The default or specified value is or'ed with .Va rdwr for a first -.Xt open 2 +.Xr open 2 attempt, then on failure with .Va wronly on a second attempt. @@ -486,7 +486,6 @@ To print summary information in human-readable form: .Pp To customize the information summary output and print it through .Xr unvis 3 : -.Pp .Bd -literal -offset indent dd if=/dev/zero of=/dev/null count=1 \e msgfmt='speed:%E, in %s seconds\en' 2\*[Gt]\*[Am]1 | unvis @@ -516,3 +515,8 @@ and values are extensions to the .Tn POSIX standard. +.Sh HISTORY +A +.Nm +utility appeared in +.At v5 . diff --git a/bin/df/df.1 b/bin/df/df.1 index 7ab3d0c67..184f47a0a 100644 --- a/bin/df/df.1 +++ b/bin/df/df.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: df.1,v 1.44 2010/04/05 21:17:28 joerg Exp $ +.\" $NetBSD: df.1,v 1.46 2016/08/10 23:48:14 sevan Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)df.1 8.2 (Berkeley) 1/13/92 .\" -.Dd March 4, 2008 +.Dd August 10, 2016 .Dt DF 1 .Os .Sh NAME @@ -203,4 +203,4 @@ size block. A .Nm utility appeared in -.At v6 . +.At v1 . diff --git a/bin/echo/echo.1 b/bin/echo/echo.1 index acf128d02..36466d873 100644 --- a/bin/echo/echo.1 +++ b/bin/echo/echo.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: echo.1,v 1.13 2003/08/07 09:05:12 agc Exp $ +.\" $NetBSD: echo.1,v 1.15 2016/08/14 22:59:22 sevan Exp $ .\" .\" Copyright (c) 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)echo.1 8.1 (Berkeley) 7/22/93 .\" -.Dd July 22, 1993 +.Dd August 14, 2016 .Dt ECHO 1 .Os .Sh NAME @@ -66,3 +66,8 @@ The utility is expected to be .St -p1003.2 compatible. +.Sh HISTORY +An +.Nm +utility appeared in +.At v2 . diff --git a/bin/expr/expr.1 b/bin/expr/expr.1 index 3fe39c420..dcfcc8719 100644 --- a/bin/expr/expr.1 +++ b/bin/expr/expr.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: expr.1,v 1.33 2012/08/12 17:27:04 wiz Exp $ +.\" $NetBSD: expr.1,v 1.36 2016/08/23 20:34:23 sevan Exp $ .\" .\" Copyright (c) 2000,2003 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -27,7 +27,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd April 20, 2004 +.Dd August 23, 2016 .Dt EXPR 1 .Os .Sh NAME @@ -214,7 +214,7 @@ treat it as a delimiter to mark the end of command line options, and ignore it. Some .Nm -implementations don't recognize it at all; others +implementations do not recognize it at all; others might ignore it even in cases where doing so results in syntax error. There should be same result for both following examples, @@ -242,15 +242,28 @@ The .Ar length keyword is an extension for compatibility with GNU .Nm . +.Sh HISTORY +An +.Nm +utility first appeared in the Programmer's Workbench (PWB/UNIX). +A public domain version of +.Nm +written by +.An Pace Willisson +.Aq pace@blitz.com +appeared in +.Bx 386 0.1 . .Sh AUTHORS -Original implementation was written by -.An J.T. Conklin -.Aq jtc@NetBSD.org . -It was rewritten for +Initial implementation by +.An Pace Willisson Aq Mt pace@blitz.com +was largely rewritten by +.An -nosplit +.An J.T. Conklin Aq Mt jtc@NetBSD.org . +It was rewritten again for .Nx 1.6 by -.An Jaromir Dolecek -.Aq jdolecek@NetBSD.org . +.An -nosplit +.An Jaromir Dolecek Aq Mt jdolecek@NetBSD.org . .Sh NOTES The empty string .Do Dc diff --git a/bin/kill/kill.1 b/bin/kill/kill.1 index 0d9f16790..86b05fdd5 100644 --- a/bin/kill/kill.1 +++ b/bin/kill/kill.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: kill.1,v 1.22 2012/03/22 07:58:17 wiz Exp $ +.\" $NetBSD: kill.1,v 1.28 2017/04/22 23:01:36 christos Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)kill.1 8.2 (Berkeley) 4/28/95 .\" -.Dd April 28, 1995 +.Dd April 22, 2017 .Dt KILL 1 .Os .Sh NAME @@ -63,7 +63,6 @@ by the pid operand(s). Only the super-user may send signals to other users' processes. .Pp The options are as follows: -.Pp .Bl -tag -width Ds .It Fl s Ar signal_name A symbolic signal name specifying the signal to be sent instead of the @@ -104,6 +103,9 @@ belonging to the user. .Pp Some of the more commonly used signals: .Bl -tag -width Ds -compact +.It 0 +0 (does not affect the process; can be used to test whether the +process exists) .It 1 HUP (hang up) .It 2 @@ -130,6 +132,8 @@ arguments. See .Xr csh 1 for details. +.Sh DIAGNOSTICS +.Ex -std .Sh SEE ALSO .Xr csh 1 , .Xr pgrep 1 , @@ -141,11 +145,12 @@ for details. .Sh STANDARDS The .Nm -function is expected to be +utility is expected to be .St -p1003.2 compatible. .Sh HISTORY A .Nm command appeared in -.At v6 . +.At v3 +in section 8 of the manual. diff --git a/bin/ls/ls.1 b/bin/ls/ls.1 index 98842a000..39e3b5153 100644 --- a/bin/ls/ls.1 +++ b/bin/ls/ls.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: ls.1,v 1.78 2014/10/18 01:49:01 jschauma Exp $ +.\" $NetBSD: ls.1,v 1.79 2016/08/10 17:45:12 sevan Exp $ .\" .\" Copyright (c) 1980, 1990, 1991, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)ls.1 8.7 (Berkeley) 7/29/94 .\" -.Dd October 17, 2014 +.Dd August 10, 2016 .Dt LS 1 .Os .Sh NAME @@ -513,4 +513,4 @@ specification. An .Nm utility appeared in -.At v5 . +.At v1 . diff --git a/bin/mkdir/mkdir.1 b/bin/mkdir/mkdir.1 index 3c726bbd2..89b8d364e 100644 --- a/bin/mkdir/mkdir.1 +++ b/bin/mkdir/mkdir.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: mkdir.1,v 1.17 2012/03/22 07:58:17 wiz Exp $ +.\" $NetBSD: mkdir.1,v 1.19 2016/08/10 18:42:00 sevan Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)mkdir.1 8.2 (Berkeley) 1/25/94 .\" -.Dd January 25, 1994 +.Dd August 10, 2016 .Dt MKDIR 1 .Os .Sh NAME @@ -92,3 +92,8 @@ The utility is expected to be .St -p1003.2 compatible. +.Sh HISTORY +A +.Nm +utility appeared in +.At v1 . diff --git a/bin/mv/mv.1 b/bin/mv/mv.1 index a926d5336..3b6231538 100644 --- a/bin/mv/mv.1 +++ b/bin/mv/mv.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: mv.1,v 1.26 2012/03/22 07:58:17 wiz Exp $ +.\" $NetBSD: mv.1,v 1.28 2016/08/10 18:08:14 sevan Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)mv.1 8.1 (Berkeley) 5/31/93 .\" -.Dd December 26, 2002 +.Dd August 10, 2016 .Dt MV 1 .Os .Sh NAME @@ -144,3 +144,8 @@ The .Fl v option is an extension to .St -p1003.2 . +.Sh HISTORY +An +.Nm +utility appeared in +.At v1 . diff --git a/bin/pax/cpio.1 b/bin/pax/cpio.1 index 9589e3d64..6ecff6466 100644 --- a/bin/pax/cpio.1 +++ b/bin/pax/cpio.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: cpio.1,v 1.13 2011/06/19 07:34:24 wiz Exp $ +.\" $NetBSD: cpio.1,v 1.14 2015/12/19 18:48:33 wiz Exp $ .\" .\" Copyright (c) 1997 SigmaSoft, Th. Lockert .\" All rights reserved. @@ -297,7 +297,8 @@ specific archive format specification. .Xr pax 1 , .Xr tar 1 .Sh AUTHORS -Keith Muller at the University of California, San Diego. +.An Keith Muller +at the University of California, San Diego. .Sh BUGS The .Fl s diff --git a/bin/pwd/pwd.1 b/bin/pwd/pwd.1 index 45230f029..880ec036d 100644 --- a/bin/pwd/pwd.1 +++ b/bin/pwd/pwd.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: pwd.1,v 1.24 2003/10/30 14:58:23 wiz Exp $ +.\" $NetBSD: pwd.1,v 1.25 2016/08/12 02:03:26 sevan Exp $ .\" .\" Copyright (c) 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)pwd.1 8.2 (Berkeley) 4/28/95 .\" -.Dd October 30, 2003 +.Dd August 12, 2016 .Dt PWD 1 .Os .Sh NAME @@ -87,6 +87,11 @@ except that the default is .Fl P not .Fl L . +.Sh HISTORY +A +.Nm +utility appeared in +.At v5 . .Sh BUGS In .Xr csh 1 diff --git a/bin/rm/rm.1 b/bin/rm/rm.1 index 676da51fc..061676cfa 100644 --- a/bin/rm/rm.1 +++ b/bin/rm/rm.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: rm.1,v 1.27 2013/04/26 19:34:34 wiz Exp $ +.\" $NetBSD: rm.1,v 1.28 2016/08/12 02:26:42 sevan Exp $ .\" .\" Copyright (c) 1990, 1993, 1994, 2003 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)rm.1 8.5 (Berkeley) 12/5/94 .\" -.Dd April 26, 2013 +.Dd August 12, 2016 .Dt RM 1 .Os .Sh NAME @@ -190,6 +190,11 @@ magnetic disk. .Em Because these requirements are not met, the .Fl P .Em option does not conform to the standard . +.Sh HISTORY +An +.Nm +utility appeared in +.At v1 . .Sh BUGS The .Fl P diff --git a/bin/rmdir/rmdir.1 b/bin/rmdir/rmdir.1 index 73fc2c492..490828a68 100644 --- a/bin/rmdir/rmdir.1 +++ b/bin/rmdir/rmdir.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: rmdir.1,v 1.15 2003/08/07 09:05:29 agc Exp $ +.\" $NetBSD: rmdir.1,v 1.16 2016/08/12 02:30:37 sevan Exp $ .\" .\" Copyright (c) 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)rmdir.1 8.1 (Berkeley) 5/31/93 .\" -.Dd May 31, 1993 +.Dd August 12, 2016 .Dt RMDIR 1 .Os .Sh NAME @@ -88,3 +88,8 @@ The utility is expected to be .St -p1003.2 compatible. +.Sh HISTORY +An +.Nm +utility appeared in +.At v1 . diff --git a/bin/sleep/sleep.1 b/bin/sleep/sleep.1 index ca7fe20fd..c7345c5e5 100644 --- a/bin/sleep/sleep.1 +++ b/bin/sleep/sleep.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: sleep.1,v 1.22 2011/08/15 14:45:36 wiz Exp $ +.\" $NetBSD: sleep.1,v 1.23 2016/08/12 02:36:38 sevan Exp $ .\" .\" Copyright (c) 1990, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)sleep.1 8.3 (Berkeley) 4/18/94 .\" -.Dd August 13, 2011 +.Dd August 12, 2016 .Dt SLEEP 1 .Os .Sh NAME @@ -121,3 +121,8 @@ The command is expected to be .St -p1003.2 compatible. +.Sh HISTORY +A +.Nm +utility appeared in +.At v4 . diff --git a/bin/stty/stty.1 b/bin/stty/stty.1 index 433e78875..637f31abc 100644 --- a/bin/stty/stty.1 +++ b/bin/stty/stty.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: stty.1,v 1.41 2012/06/20 14:19:39 wiz Exp $ +.\" $NetBSD: stty.1,v 1.43 2016/08/14 23:29:43 sevan Exp $ .\" .\" Copyright (c) 1990, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)stty.1 8.5 (Berkeley) 6/1/94 .\" -.Dd June 16, 2012 +.Dd August 15, 2016 .Dt STTY 1 .Os .Sh NAME @@ -633,3 +633,8 @@ and flags are extensions to the standard, as are the operands mentioned in the control operations section. +.Sh HISTORY +An +.Nm +utility appeared in +.At v2 .