diff --git a/printenv.1 b/printenv.1 index 5f768f0..8fd2f21 100644 --- a/printenv.1 +++ b/printenv.1 @@ -1,19 +1,21 @@ -.TH PRINTENV 1 sbase\-VERSION -.SH NAME -printenv \- print out the environment or the values of specific variables. -.SH SYNOPSIS -.B printenv -.RB [ var... ] -.SH DESCRIPTION -.B printenv +.Dd January 30, 2015 +.Dt PRINTENV 1 sbase\-VERSION +.Os +.Sh NAME +.Nm printenv +.Nd print out the environment or the values of specific variables. +.Sh SYNOPSIS +.Nm +.Op Ar var ... +.Sh DESCRIPTION +.Nm prints the entire environment as key=values pairs when no -.IR var +.Ar var is specified. Otherwise, in the order specified, -.B printenv +.Nm prints the value only of each -.IR var, +.Ar var , one per line. - -.SH SEE ALSO -.IR env (1) +.Sh SEE ALSO +.Xr env 1