sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

printenv.1 (496B)


      1 .Dd 2016-03-30
      2 .Dt PRINTENV 1
      3 .Os sbase
      4 .Sh NAME
      5 .Nm printenv
      6 .Nd print the environment or values of variables
      7 .Sh SYNOPSIS
      8 .Nm
      9 .Op Ar var ...
     10 .Sh DESCRIPTION
     11 .Nm
     12 prints the entire environment as key=value pairs if no
     13 .Ar var
     14 is given. Otherwise,
     15 .Nm
     16 prints only the value of each
     17 .Ar var
     18 one per line in the order specified.
     19 .Sh EXIT STATUS
     20 .Bl -tag -width Ds
     21 .It 0
     22 Successful completion.
     23 .It 1
     24 One or more queried variables were not found.
     25 .It > 1
     26 An error occurred.
     27 .El
     28 .Sh SEE ALSO
     29 .Xr env 1