22921a859f
Fix "new sentence, new line" warnings throughout so that formatters can produce correct spacing between sentences. join.1 Remove unnecessary Ns macros. These are not necessary for delimeters, which get special treatment. xinstall.1 Fix date in manual. The contents were last modified on 2016-12-03, so use that instead of the invalid date. grep.1 Fix escape sequence for `\<` and `\>`. ed.1 Remove spurious `\\n` escape for the null-command.
31 lines
496 B
Groff
31 lines
496 B
Groff
.Dd 2016-03-30
|
|
.Dt PRINTENV 1
|
|
.Os sbase
|
|
.Sh NAME
|
|
.Nm printenv
|
|
.Nd print the environment or values of variables
|
|
.Sh SYNOPSIS
|
|
.Nm
|
|
.Op Ar var ...
|
|
.Sh DESCRIPTION
|
|
.Nm
|
|
prints the entire environment as key=value pairs if no
|
|
.Ar var
|
|
is given.
|
|
Otherwise,
|
|
.Nm
|
|
prints only the value of each
|
|
.Ar var
|
|
one per line in the order specified.
|
|
.Sh EXIT STATUS
|
|
.Bl -tag -width Ds
|
|
.It 0
|
|
Successful completion.
|
|
.It 1
|
|
One or more queried variables were not found.
|
|
.It > 1
|
|
An error occurred.
|
|
.El
|
|
.Sh SEE ALSO
|
|
.Xr env 1
|