Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/bin Pull up to netbsd-1-5 branch, OK'd by thorpej:



details:   https://anonhg.NetBSD.org/src/rev/671f52260e40
branches:  netbsd-1-5
changeset: 489292:671f52260e40
user:      hubertf <hubertf%NetBSD.org@localhost>
date:      Mon Aug 28 04:25:44 2000 +0000

description:
Pull up to netbsd-1-5 branch, OK'd by thorpej:

Log Message:
 > Add 'RETURN VALUE' section header.

Files & Revisionis:
 > cvs rdiff -r1.19 -r1.20 basesrc/bin/cat/cat.1
 > cvs rdiff -r1.12 -r1.13 basesrc/bin/chmod/chmod.1
 > cvs rdiff -r1.14 -r1.15 basesrc/bin/cp/cp.1
 > cvs rdiff -r1.8 -r1.9 basesrc/bin/dd/dd.1
 > cvs rdiff -r1.9 -r1.10 basesrc/bin/echo/echo.1
 > cvs rdiff -r1.11 -r1.12 basesrc/bin/expr/expr.1
 > cvs rdiff -r1.25 -r1.26 basesrc/bin/ls/ls.1
 > cvs rdiff -r1.10 -r1.11 basesrc/bin/mkdir/mkdir.1
 > cvs rdiff -r1.23 -r1.24 basesrc/bin/mt/mt.1
 > cvs rdiff -r1.12 -r1.13 basesrc/bin/mv/mv.1
 > cvs rdiff -r1.16 -r1.17 basesrc/bin/pwd/pwd.1
 > cvs rdiff -r1.9 -r1.10 basesrc/bin/rm/rm.1
 > cvs rdiff -r1.11 -r1.12 basesrc/bin/rmdir/rmdir.1
 > cvs rdiff -r1.35 -r1.36 basesrc/bin/sh/sh.1
 > cvs rdiff -r1.11 -r1.12 basesrc/bin/sleep/sleep.1
 > cvs rdiff -r1.20 -r1.21 basesrc/bin/stty/stty.1

diffstat:

 bin/cat/cat.1     |   3 ++-
 bin/chmod/chmod.1 |   3 ++-
 bin/cp/cp.1       |   3 ++-
 bin/dd/dd.1       |   3 ++-
 bin/echo/echo.1   |   4 ++--
 bin/expr/expr.1   |   4 ++--
 bin/ls/ls.1       |   4 ++--
 bin/mkdir/mkdir.1 |   4 ++--
 bin/mt/mt.1       |   4 ++--
 bin/mv/mv.1       |   4 ++--
 bin/pwd/pwd.1     |   4 ++--
 bin/rm/rm.1       |   4 ++--
 bin/rmdir/rmdir.1 |   4 ++--
 bin/sh/sh.1       |   4 ++--
 bin/sleep/sleep.1 |  18 +++++++++---------
 bin/stty/stty.1   |   4 ++--
 16 files changed, 39 insertions(+), 35 deletions(-)

diffs (truncated from 305 to 300 lines):

diff -r 663468142ca0 -r 671f52260e40 bin/cat/cat.1
--- a/bin/cat/cat.1     Mon Aug 28 04:13:09 2000 +0000
+++ b/bin/cat/cat.1     Mon Aug 28 04:25:44 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: cat.1,v 1.18 2000/01/15 01:13:15 christos Exp $
+.\"    $NetBSD: cat.1,v 1.18.4.1 2000/08/28 04:25:44 hubertf Exp $
 .\"
 .\" Copyright (c) 1989, 1990, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -106,6 +106,7 @@
 (for meta) followed by the character for the low 7 bits.
 .El
 .Pp
+.Sh RETURN VALUES
 The
 .Nm
 utility exits 0 on success, and >0 if an error occurs.
diff -r 663468142ca0 -r 671f52260e40 bin/chmod/chmod.1
--- a/bin/chmod/chmod.1 Mon Aug 28 04:13:09 2000 +0000
+++ b/bin/chmod/chmod.1 Mon Aug 28 04:25:44 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: chmod.1,v 1.12 2000/02/05 11:39:16 enami Exp $
+.\"    $NetBSD: chmod.1,v 1.12.4.1 2000/08/28 04:25:45 hubertf Exp $
 .\"
 .\" Copyright (c) 1989, 1990, 1993, 1994
 .\"    The Regents of the University of California.  All rights reserved.
@@ -106,6 +106,7 @@
 Only the owner of a file or the super-user is permitted to change
 the mode of a file.
 .Pp
+.Sh RETURN VALUES
 The
 .Nm
 utility exits 0 on success, and >0 if an error occurs.
diff -r 663468142ca0 -r 671f52260e40 bin/cp/cp.1
--- a/bin/cp/cp.1       Mon Aug 28 04:13:09 2000 +0000
+++ b/bin/cp/cp.1       Mon Aug 28 04:25:44 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: cp.1,v 1.14 1999/03/22 18:30:43 garbled Exp $
+.\"    $NetBSD: cp.1,v 1.14.10.1 2000/08/28 04:25:45 hubertf Exp $
 .\"
 .\" Copyright (c) 1989, 1990, 1993, 1994
 .\"    The Regents of the University of California.  All rights reserved.
@@ -190,6 +190,7 @@
 In addition, these options override each other and the
 command's actions are determined by the last one specified.
 .Pp
+.Sh RETURN VALUES
 .Nm
 exits 0 on success, >0 if an error occurred.
 .Sh COMPATIBILITY
diff -r 663468142ca0 -r 671f52260e40 bin/dd/dd.1
--- a/bin/dd/dd.1       Mon Aug 28 04:13:09 2000 +0000
+++ b/bin/dd/dd.1       Mon Aug 28 04:25:44 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: dd.1,v 1.8 1999/07/29 19:03:31 hubertf Exp $
+.\"    $NetBSD: dd.1,v 1.8.8.1 2000/08/28 04:25:45 hubertf Exp $
 .\"
 .\" Copyright (c) 1990, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -332,6 +332,7 @@
 .Nm
 will exit.
 .Pp
+.Sh RETURN VALUES
 The
 .Nm
 utility exits 0 on success and >0 if an error occurred.
diff -r 663468142ca0 -r 671f52260e40 bin/echo/echo.1
--- a/bin/echo/echo.1   Mon Aug 28 04:13:09 2000 +0000
+++ b/bin/echo/echo.1   Mon Aug 28 04:25:44 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: echo.1,v 1.9 2000/01/25 13:06:51 enami Exp $
+.\"    $NetBSD: echo.1,v 1.9.4.1 2000/08/28 04:25:45 hubertf Exp $
 .\"
 .\" Copyright (c) 1990, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -58,7 +58,7 @@
 .It Fl n
 Do not print the trailing newline character.
 .El
-.Pp
+.Sh RETURN VALUES
 The
 .Nm
 utility exits 0 on success, and >0 if an error occurs.
diff -r 663468142ca0 -r 671f52260e40 bin/expr/expr.1
--- a/bin/expr/expr.1   Mon Aug 28 04:13:09 2000 +0000
+++ b/bin/expr/expr.1   Mon Aug 28 04:25:44 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: expr.1,v 1.11 2000/01/14 07:14:41 mjl Exp $
+.\"    $NetBSD: expr.1,v 1.11.4.1 2000/08/28 04:25:45 hubertf Exp $
 .\"
 .\" Written by J.T. Conklin <jtc%netbsd.org@localhost>.
 .\" Public domain.
@@ -86,7 +86,7 @@
 The following example returns the number of characters in variable a.
 .Dl expr $a Li : '.*'
 .El
-.Sh DIAGNOSTICS
+.Sh RETURN VALUES
 The
 .Nm
 utility exits with one of the following values:
diff -r 663468142ca0 -r 671f52260e40 bin/ls/ls.1
--- a/bin/ls/ls.1       Mon Aug 28 04:13:09 2000 +0000
+++ b/bin/ls/ls.1       Mon Aug 28 04:25:44 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ls.1,v 1.25 2000/05/28 21:14:11 bjh21 Exp $
+.\"    $NetBSD: ls.1,v 1.25.2.1 2000/08/28 04:25:45 hubertf Exp $
 .\"
 .\" Copyright (c) 1980, 1990, 1991, 1993, 1994
 .\"    The Regents of the University of California.  All rights reserved.
@@ -339,7 +339,7 @@
 .Xr sticky 8 . )
 .El
 .El
-.Pp
+.Sh RETURN VALUES
 The
 .Nm
 utility exits 0 on success, and >0 if an error occurs.
diff -r 663468142ca0 -r 671f52260e40 bin/mkdir/mkdir.1
--- a/bin/mkdir/mkdir.1 Mon Aug 28 04:13:09 2000 +0000
+++ b/bin/mkdir/mkdir.1 Mon Aug 28 04:25:44 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: mkdir.1,v 1.10 1997/10/20 08:52:35 enami Exp $
+.\"    $NetBSD: mkdir.1,v 1.10.12.1 2000/08/28 04:25:46 hubertf Exp $
 .\"
 .\" Copyright (c) 1989, 1990, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -82,7 +82,7 @@
 .El
 .Pp
 The user must have write permission in the parent directory.
-.Pp
+.Sh RETURN VALUES
 .Nm
 exits 0 if successful, and >0 if an error occurred.
 .Sh SEE ALSO
diff -r 663468142ca0 -r 671f52260e40 bin/mt/mt.1
--- a/bin/mt/mt.1       Mon Aug 28 04:13:09 2000 +0000
+++ b/bin/mt/mt.1       Mon Aug 28 04:25:44 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: mt.1,v 1.23 2000/02/02 06:56:46 mjacob Exp $
+.\"    $NetBSD: mt.1,v 1.23.4.1 2000/08/28 04:25:46 hubertf Exp $
 .\"
 .\" Copyright (c) 1981, 1990, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -170,7 +170,7 @@
 .Nm
 uses the device
 .Pa /dev/nrst0 .
-.Pp
+.Sh RETURN VALUES
 .Nm
 returns a 0 exit status when the operation(s) were successful,
 1 if the command was unrecognized, and 2 if an operation failed.
diff -r 663468142ca0 -r 671f52260e40 bin/mv/mv.1
--- a/bin/mv/mv.1       Mon Aug 28 04:13:09 2000 +0000
+++ b/bin/mv/mv.1       Mon Aug 28 04:25:44 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: mv.1,v 1.12 1999/08/02 01:42:08 sommerfeld Exp $
+.\"    $NetBSD: mv.1,v 1.12.8.1 2000/08/28 04:25:46 hubertf Exp $
 .\"
 .\" Copyright (c) 1989, 1990, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -125,7 +125,7 @@
 \tcp -PRp source_file destination_path && \e
 \trm -rf source_file
 .Ed
-.Pp
+.Sh RETURN VALUES
 The
 .Nm
 utility exits 0 on success, and >0 if an error occurs.
diff -r 663468142ca0 -r 671f52260e40 bin/pwd/pwd.1
--- a/bin/pwd/pwd.1     Mon Aug 28 04:13:09 2000 +0000
+++ b/bin/pwd/pwd.1     Mon Aug 28 04:25:44 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: pwd.1,v 1.16 1999/11/17 22:35:38 kleink Exp $
+.\"    $NetBSD: pwd.1,v 1.16.4.1 2000/08/28 04:25:46 hubertf Exp $
 .\"
 .\" Copyright (c) 1990, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -61,7 +61,7 @@
 Print the physical path to the current working directory, with symbolic
 links in the path resolved. This is the default.
 .El
-.Sh DIAGNOSTICS
+.Sh RETURN VALUES
 The
 .Nm
 utility exits 0 on success, and >0 if an error occurs.
diff -r 663468142ca0 -r 671f52260e40 bin/rm/rm.1
--- a/bin/rm/rm.1       Mon Aug 28 04:13:09 2000 +0000
+++ b/bin/rm/rm.1       Mon Aug 28 04:25:44 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: rm.1,v 1.9 1997/10/20 08:53:14 enami Exp $
+.\"    $NetBSD: rm.1,v 1.9.12.1 2000/08/28 04:25:46 hubertf Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"    The Regents of the University of California.  All rights reserved.
@@ -112,7 +112,7 @@
 utility removes symbolic links, not the files referenced by the links.
 .Pp
 It is an error to attempt to remove the files ``.'' and ``..''.
-.Pp
+.Sh RETURN VALUES
 The
 .Nm
 utility exits 0 if all of the named files or file hierarchies were removed,
diff -r 663468142ca0 -r 671f52260e40 bin/rmdir/rmdir.1
--- a/bin/rmdir/rmdir.1 Mon Aug 28 04:13:09 2000 +0000
+++ b/bin/rmdir/rmdir.1 Mon Aug 28 04:25:44 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: rmdir.1,v 1.11 1997/10/20 08:53:22 enami Exp $
+.\"    $NetBSD: rmdir.1,v 1.11.12.1 2000/08/28 04:25:46 hubertf Exp $
 .\"
 .\" Copyright (c) 1990, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -72,7 +72,7 @@
 .Xr rm 1
 for fully non-discriminant recursive removal.)
 .El
-.Pp
+.Sh RETURN VALUES
 The
 .Nm
 utility exits with one of the following values:
diff -r 663468142ca0 -r 671f52260e40 bin/sh/sh.1
--- a/bin/sh/sh.1       Mon Aug 28 04:13:09 2000 +0000
+++ b/bin/sh/sh.1       Mon Aug 28 04:25:44 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: sh.1,v 1.33.4.1 2000/07/18 01:59:14 jhawk Exp $
+.\"    $NetBSD: sh.1,v 1.33.4.2 2000/08/28 04:25:47 hubertf Exp $
 .\" Copyright (c) 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
 .\"
@@ -1567,7 +1567,7 @@
 command appeared in
 .At v1 .
 It was, however, unmaintainable so we wrote this one.
-.Sh DIAGNOSTICS
+.Sh RETURN VALUES
 Errors that are detected by the shell, such as a syntax error, will cause the
 shell to exit with a non-zero exit status.  If the shell is not an
 interactive shell, the execution of the shell file will be aborted.  Otherwise
diff -r 663468142ca0 -r 671f52260e40 bin/sleep/sleep.1
--- a/bin/sleep/sleep.1 Mon Aug 28 04:13:09 2000 +0000
+++ b/bin/sleep/sleep.1 Mon Aug 28 04:25:44 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: sleep.1,v 1.11 1997/09/14 07:31:56 lukem Exp $
+.\"    $NetBSD: sleep.1,v 1.11.12.1 2000/08/28 04:25:47 hubertf Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"    The Regents of the University of California.  All rights reserved.
@@ -55,6 +55,14 @@
 .Sx EXAMPLES
 below).
 .Pp
+Note: The
+.Nx
+.Nm
+command will accept and honor a non-integer number of specified
+seconds. This is a non-portable extension, and its use will nearly
+guarantee that a shell script will not execute properly on another
+system.
+.Sh RETURN VALUES
 The
 .Nm
 utility exits with one of the following values:
@@ -66,14 +74,6 @@
 .It Li \&>\&0
 An error occurred.
 .El
-.Pp
-Note: The
-.Nx
-.Nm
-command will accept and honor a non-integer number of specified
-seconds. This is a non-portable extension, and its use will nearly
-guarantee that a shell script will not execute properly on another
-system.
 .Sh EXAMPLES
 To schedule the execution of a command for
 .Va x
diff -r 663468142ca0 -r 671f52260e40 bin/stty/stty.1
--- a/bin/stty/stty.1   Mon Aug 28 04:13:09 2000 +0000
+++ b/bin/stty/stty.1   Mon Aug 28 04:25:44 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: stty.1,v 1.20 1999/03/24 06:27:49 mycroft Exp $
+.\"    $NetBSD: stty.1,v 1.20.10.1 2000/08/28 04:25:47 hubertf Exp $
 .\"
 .\" Copyright (c) 1990, 1993, 1994
 .\"    The Regents of the University of California.  All rights reserved.
@@ -591,7 +591,7 @@
 .Cm ixon
 is set.
 .El



Home | Main Index | Thread Index | Old Index