From a645f528433b865f7ae892079fd29b3bdb18b7b4 Mon Sep 17 00:00:00 2001 From: FRIGN Date: Sun, 1 Feb 2015 00:23:38 +0100 Subject: [PATCH] Finish up printenv(1) --- README | 2 +- mktemp.1 | 2 +- printenv.1 | 15 +++++++-------- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/README b/README index f1efa52..c53e24f 100644 --- a/README +++ b/README @@ -50,7 +50,7 @@ The following tools are implemented ('*' == finished, '#' == UTF-8 support, = nl no -d, -f, -h, -l, -n, -p, -v, -w =* nohup yes none #* paste yes none -= printenv non-posix none +=* printenv non-posix none printf stolen stolen =* pwd yes none = readlink non-posix none diff --git a/mktemp.1 b/mktemp.1 index 6cd106e..1d9da15 100644 --- a/mktemp.1 +++ b/mktemp.1 @@ -1,4 +1,4 @@ -.Dd January 30, 2015 +.Dd January 31, 2015 .Dt MKTEMP 1 .Os sbase .Sh NAME diff --git a/printenv.1 b/printenv.1 index d960402..b21d7d0 100644 --- a/printenv.1 +++ b/printenv.1 @@ -1,21 +1,20 @@ -.Dd January 30, 2015 +.Dd January 31, 2015 .Dt PRINTENV 1 .Os sbase .Sh NAME .Nm printenv -.Nd print out the environment or the values of specific variables. +.Nd print the environment or values of variables .Sh SYNOPSIS .Nm .Op Ar var ... .Sh DESCRIPTION .Nm -prints the entire environment as key=values pairs when -no +prints the entire environment as key=value pairs if no .Ar var -is specified. Otherwise, in the order specified, +is given. Otherwise, .Nm -prints the value only of each -.Ar var , -one per line. +prints only the value of each +.Ar var +one per line in the order specified. .Sh SEE ALSO .Xr env 1