diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 1998-11-03 05:40:04 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 1998-11-03 05:40:04 +0000 |
commit | 697ed2bbf308266a84175eb15bcfdebebd5b696b (patch) | |
tree | 3438e4cca4c8b8854312ffa9a03352150e381c0a /share/man | |
parent | 1d5da66c9b2948d214295da09d3ca12a0b836dd3 (diff) |
repairs
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man1/cd.1 | 11 | ||||
-rw-r--r-- | share/man/man1/wait.1 | 7 |
2 files changed, 12 insertions, 6 deletions
diff --git a/share/man/man1/cd.1 b/share/man/man1/cd.1 index 420d1e56ebb..6b2273557c6 100644 --- a/share/man/man1/cd.1 +++ b/share/man/man1/cd.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: cd.1,v 1.3 1998/09/07 16:44:35 aaron Exp $ +.\" $OpenBSD: cd.1,v 1.4 1998/11/03 05:40:03 aaron Exp $ .\" $NetBSD: cd.1,v 1.2 1994/11/30 08:34:59 jtc Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 @@ -47,10 +47,13 @@ .Nm .Ar directory .Sh DESCRIPTION -.Ar Directory +.Ar directory is an absolute or relative pathname which becomes the new working directory. -The interpretation of a relative pathname by cd depends on the CDPATH +The interpretation of a relative pathname by +.Nm +depends on the +.Ev CDPATH environment variable (see below). .Pp Note that @@ -98,7 +101,7 @@ for more information on environment variables. .Pp The .Nm cd -utility exits 0 on success, and >0 if an error occurs. +utility exits 0 on success or >0 if an error occurred. .Sh SEE ALSO .Xr csh 1 , .Xr pwd 1 , diff --git a/share/man/man1/wait.1 b/share/man/man1/wait.1 index 7a86b582273..a61afc0648f 100644 --- a/share/man/man1/wait.1 +++ b/share/man/man1/wait.1 @@ -62,7 +62,9 @@ waits until that process has completed and consumes its status information, without consuming the status information of any other process. .Pp -If a pid operand is specified that is not the process ID of +If a +.Ar pid +operand is specified that is not the process ID of a child background process that still exists, .Nm wait exits @@ -78,7 +80,8 @@ The .Nm wait utility was invoked with no operands and all of the existing background child processes have -terminated, or the process specified by the pid +terminated, or the process specified by the +.Ar pid operand exited normally with 0 as its exit status. .It \&>\&0 The specified process did not exist and its exit |