From 0ac41ca9989fe56e0893bb974bccbeb8e32f22e6 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Fri, 30 Jan 2015 23:25:12 +0100 Subject: [PATCH] printenv.1: convert to mandoc --- printenv.1 | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) 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