Module Name: src
Committed By: wiz
Date: Tue Jul 4 06:33:14 UTC 2017
Modified Files:
src/share/man/man1: cd.1
Log Message:
Use EXIT STATUS and .Ex.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/share/man/man1/cd.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man1/cd.1
diff -u src/share/man/man1/cd.1:1.7 src/share/man/man1/cd.1:1.8
--- src/share/man/man1/cd.1:1.7 Mon Jul 3 21:30:58 2017
+++ src/share/man/man1/cd.1 Tue Jul 4 06:33:13 2017
@@ -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 @@ The interpretation of a relative pathnam
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 @@ becomes the new working directory.
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 ,