mirror of
git://git.suckless.org/sbase
synced 2025-03-11 07:17:56 +00:00
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.
18 lines
279 B
Groff
18 lines
279 B
Groff
.Dd October 8, 2015
|
|
.Dt SYNC 1
|
|
.Os sbase
|
|
.Sh NAME
|
|
.Nm sync
|
|
.Nd flush disk cache
|
|
.Sh SYNOPSIS
|
|
.Nm
|
|
.Sh DESCRIPTION
|
|
.Nm
|
|
invokes
|
|
.Xr sync 2
|
|
to flush all unwritten changes to disk.
|
|
This is usually done before shutting down, rebooting or halting.
|
|
.Sh SEE ALSO
|
|
.Xr fsync 2 ,
|
|
.Xr sync 2
|