Finish up printenv(1)

This commit is contained in:
FRIGN 2015-02-01 00:23:38 +01:00
parent cd37dc4553
commit a645f52843
3 changed files with 9 additions and 10 deletions

2
README
View File

@ -50,7 +50,7 @@ The following tools are implemented ('*' == finished, '#' == UTF-8 support,
= nl no -d, -f, -h, -l, -n, -p, -v, -w = nl no -d, -f, -h, -l, -n, -p, -v, -w
=* nohup yes none =* nohup yes none
#* paste yes none #* paste yes none
= printenv non-posix none =* printenv non-posix none
printf stolen stolen printf stolen stolen
=* pwd yes none =* pwd yes none
= readlink non-posix none = readlink non-posix none

View File

@ -1,4 +1,4 @@
.Dd January 30, 2015 .Dd January 31, 2015
.Dt MKTEMP 1 .Dt MKTEMP 1
.Os sbase .Os sbase
.Sh NAME .Sh NAME

View File

@ -1,21 +1,20 @@
.Dd January 30, 2015 .Dd January 31, 2015
.Dt PRINTENV 1 .Dt PRINTENV 1
.Os sbase .Os sbase
.Sh NAME .Sh NAME
.Nm printenv .Nm printenv
.Nd print out the environment or the values of specific variables. .Nd print the environment or values of variables
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm .Nm
.Op Ar var ... .Op Ar var ...
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
prints the entire environment as key=values pairs when prints the entire environment as key=value pairs if no
no
.Ar var .Ar var
is specified. Otherwise, in the order specified, is given. Otherwise,
.Nm .Nm
prints the value only of each prints only the value of each
.Ar var , .Ar var
one per line. one per line in the order specified.
.Sh SEE ALSO .Sh SEE ALSO
.Xr env 1 .Xr env 1