diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-06-05 01:21:54 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-06-05 01:21:54 +0000 |
commit | 1805b94e6caa317d402e398fa06fa3d93d6827a0 (patch) | |
tree | e58ba56a51e58547f1d6f5a95c25435bc397c5c3 /usr.bin/env/env.1 | |
parent | f35d61706eae00527a19f021ef26ab0109f18e5c (diff) |
- remove trailing white space
- remove arguments from .Os macros
- remove arguments from .Nm macros, where appropriate
- some more Dq/Sq/Ql insanity
- still lots to do in the usr.bin tree... :/
Diffstat (limited to 'usr.bin/env/env.1')
-rw-r--r-- | usr.bin/env/env.1 | 46 |
1 files changed, 24 insertions, 22 deletions
diff --git a/usr.bin/env/env.1 b/usr.bin/env/env.1 index 333395b881d..66c1e0752e8 100644 --- a/usr.bin/env/env.1 +++ b/usr.bin/env/env.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: env.1,v 1.4 1998/09/23 04:32:39 aaron Exp $ +.\" $OpenBSD: env.1,v 1.5 1999/06/05 01:21:23 aaron Exp $ .\" Copyright (c) 1980, 1990 The Regents of the University of California. .\" All rights reserved. .\" @@ -43,18 +43,20 @@ .Sh SYNOPSIS .Nm env .Op Fl i -.Op Ar name=value ... +.Oo +.Ar name Ns No = Ns Ar value ... +.Oc .Oo .Ar utility .Op Ar argument ... .Oc .Sh DESCRIPTION -.Nm env +.Nm executes .Ar utility after modifying the environment as specified on the command line. The option -.Ar name=value +.Ar name Ns No = Ns Ar value specifies an environment variable, .Ar name , @@ -64,60 +66,60 @@ The .Fl i option causes -.Nm env +.Nm to completely ignore the environment it inherits. .Pp -If no +If no .Ar utility is specified, -.Nm env +.Nm prints out the names and values -of the variables in the environment, with one -.Ar name=value +of the variables in the environment, with one +.Ar name Ns No = Ns Ar value pair per line. .Sh DIAGNOSTICS -If the +If the .Ar utility -is invoked, the exit status of -.Nm env +is invoked, the exit status of +.Nm shall be the exit status of .Ar utility ; otherwise, the -.Nm env +.Nm utility exits with one of the following values: .Bl -tag -width Ds .It 0 -The -.Nm env +The +.Nm utility completed successfully. .It 1-125 An error occurred in the -.Nm env +.Nm utility. .It 126 The utility specified by -.Ar utility +.Ar utility was found, but could not be invoked. .It 127 The utility specified by -.Ar utility +.Ar utility could not be found. .El .Sh COMPATIBILITY -The historic -.Fl +The historic +.Fl option has been deprecated but is still supported in this implementation. .Sh SEE ALSO .Xr execvp 3 , .Xr environ 7 .Sh STANDARDS The -.Nm env +.Nm utility conforms to .St -p1003.2-92 . .Sh BUGS -.Nm env +.Nm doesn't handle commands with equal .Pq Sq = signs in their |