commit 0ac41ca9989fe56e0893bb974bccbeb8e32f22e6
parent 073a5726c7d83dba1a5ab5ed8b5c368ff4ac4282
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 30 Jan 2015 23:25:12 +0100
printenv.1: convert to mandoc
Diffstat:
1 file changed, 16 insertions(+), 14 deletions(-)
diff --git 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