Source-Changes-HG archive

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

[src/trunk]: src/share/man/man1 Use EXIT STATUS and .Ex.



details:   https://anonhg.NetBSD.org/src/rev/4f3072779621
branches:  trunk
changeset: 354908:4f3072779621
user:      wiz <wiz%NetBSD.org@localhost>
date:      Tue Jul 04 06:33:13 2017 +0000

description:
Use EXIT STATUS and .Ex.

diffstat:

 share/man/man1/cd.1 |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (30 lines):

diff -r 8f8b900b3000 -r 4f3072779621 share/man/man1/cd.1
--- a/share/man/man1/cd.1       Tue Jul 04 05:03:08 2017 +0000
+++ b/share/man/man1/cd.1       Tue Jul 04 06:33:13 2017 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: cd.1,v 1.7 2017/07/03 21:30:58 wiz Exp $
+.\"    $NetBSD: cd.1,v 1.8 2017/07/04 06:33:13 wiz Exp $
 .\"
 .\" Copyright (c) 1980, 1990, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -50,7 +50,6 @@
 environment variable (see below).
 .Sh ENVIRONMENT
 The following environment variables affect the execution of cd:
-.Pp
 .Bl -tag -width indent
 .It Ev CDPATH
 If the
@@ -79,10 +78,8 @@
 See
 .Xr csh 1
 for more information on environment variables.
-.Pp
-The
-.Nm cd
-utility exits 0 on success, and >0 if an error occurs.
+.Sh EXIT STATUS
+.Ex -std cd
 .Sh SEE ALSO
 .Xr csh 1 ,
 .Xr pwd 1 ,



Home | Main Index | Thread Index | Old Index