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
=* nohup yes none
#* paste yes none
= printenv non-posix none
=* printenv non-posix none
printf stolen stolen
=* pwd yes none
= readlink non-posix none

View File

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

View File

@ -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