mirror of
git://git.suckless.org/sbase
synced 2025-01-05 06:29:34 +00:00
d458fa2c7b
When viewing sbase's man pages the date displayed at the bottom is
the current date rather than the date entered in the <program>.1
file.
According to this:
https://mandoc.bsd.lv/mdoc/details/date.html
The traditional man date format used by sbase (.Dd year-month-day)
is no longer recommended and no longer supported by GNU troff or
Heirloom Docs and as a result the current date is displayed instead.
Although this format is still accepted by mandoc for backward
compatibility.
For portability it states the standard mdoc date format should be
used instead: .Dd month day, year
I applied the following patch to sbase's last commit b30fb56
and
it fixes the issue.
31 lines
500 B
Groff
31 lines
500 B
Groff
.Dd March 30, 2016
|
|
.Dt PRINTENV 1
|
|
.Os sbase
|
|
.Sh NAME
|
|
.Nm printenv
|
|
.Nd print the environment or values of variables
|
|
.Sh SYNOPSIS
|
|
.Nm
|
|
.Op Ar var ...
|
|
.Sh DESCRIPTION
|
|
.Nm
|
|
prints the entire environment as key=value pairs if no
|
|
.Ar var
|
|
is given.
|
|
Otherwise,
|
|
.Nm
|
|
prints only the value of each
|
|
.Ar var
|
|
one per line in the order specified.
|
|
.Sh EXIT STATUS
|
|
.Bl -tag -width Ds
|
|
.It 0
|
|
Successful completion.
|
|
.It 1
|
|
One or more queried variables were not found.
|
|
.It > 1
|
|
An error occurred.
|
|
.El
|
|
.Sh SEE ALSO
|
|
.Xr env 1
|