1
0
mirror of git://git.suckless.org/sbase synced 2024-12-21 22:50:16 +00:00

fix: update man pages to standard mdoc date format

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.
This commit is contained in:
Brandon Pribula 2024-09-07 22:57:31 +00:00 committed by Roberto E. Vargas Caballero
parent b30fb56804
commit d458fa2c7b
97 changed files with 97 additions and 97 deletions

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt BASENAME 1
.Os sbase
.Sh NAME

2
cal.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt CAL 1
.Os sbase
.Sh NAME

2
cat.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt CAT 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt CHGRP 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2019-12-21
.Dd December 21, 2019
.Dt CHMOD 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt CHOWN 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt CHROOT 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt CKSUM 1
.Os sbase
.Sh NAME

2
cmp.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt CMP 1
.Os sbase
.Sh NAME

2
cols.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt COLS 1
.Os sbase
.Sh NAME

2
comm.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt COMM 1
.Os sbase
.Sh NAME

2
cp.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt CP 1
.Os sbase
.Sh NAME

2
cron.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt CRON 1
.Os sbase
.Sh NAME

2
cut.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt CUT 1
.Os sbase
.Sh NAME

2
date.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt DATE 1
.Os sbase
.Sh NAME

2
dd.1
View File

@ -1,4 +1,4 @@
.Dd 2020-04-28
.Dd April 28, 2020
.Dt DD 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt DIRNAME 1
.Os sbase
.Sh NAME

2
du.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt DU 1
.Os sbase
.Sh NAME

2
echo.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt ECHO 1
.Os sbase
.Sh NAME

2
ed.1
View File

@ -1,4 +1,4 @@
.Dd 2016-12-27
.Dd December 27, 2016
.Dt ED 1
.Os sbase
.Sh NAME

2
env.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt ENV 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt EXPAND 1
.Os sbase
.Sh NAME

2
expr.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt EXPR 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt FALSE 1
.Os sbase
.Sh NAME

2
find.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt FIND 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt FLOCK 1
.Os sbase
.Sh NAME

2
fold.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt FOLD 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt GETCONF 1
.Os sbase
.Sh NAME

2
grep.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt GREP 1
.Os sbase
.Sh NAME

2
head.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt HEAD 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt HOSTNAME 1
.Os sbase
.Sh NAME

2
join.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt JOIN 1
.Os sbase
.Sh NAME

2
kill.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt KILL 1
.Os sbase
.Sh NAME

2
link.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt LINK 1
.Os sbase
.Sh NAME

2
ln.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt LN 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt LOGGER 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt LOGNAME 1
.Os sbase
.Sh NAME

2
ls.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt LS 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt MD5SUM 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt MKDIR 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt MKFIFO 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-02-02
.Dd February 2, 2015
.Dt MKNOD 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt MKTEMP 1
.Os sbase
.Sh NAME

2
mv.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt MV 1
.Os sbase
.Sh NAME

2
nice.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt NICE 1
.Os sbase
.Sh NAME

2
nl.1
View File

@ -1,4 +1,4 @@
.Dd 2020-05-15
.Dd May 15, 2020
.Dt NL 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt NOHUP 1
.Os sbase
.Sh NAME

2
od.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-25
.Dd October 25, 2015
.Dt OD 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt PASTE 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2016-02-03
.Dd February 3, 2016
.Dt PATHCHK 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2016-03-30
.Dd March 30, 2016
.Dt PRINTENV 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt PRINTF 1
.Os sbase
.Sh NAME

2
pwd.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt PWD 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-11-16
.Dd November 16, 2015
.Dt READLINK 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt RENICE 1
.Os sbase
.Sh NAME

2
rev.1
View File

@ -1,4 +1,4 @@
.Dd 2016-03-26
.Dd March 26, 2016
.Dt REV 1
.Os sbase
.Sh NAME

2
rm.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt RM 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt RMDIR 1
.Os sbase
.Sh NAME

2
sed.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt SED 1
.Os sbase
.Sh NAME

2
seq.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt SEQ 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2020-07-14
.Dd July 14, 2020
.Dt SETSID 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt SHA1SUM 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2016-02-24
.Dd February 24, 2016
.Dt SHA224SUM 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt SHA256SUM 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2016-02-24
.Dd February 24, 2016
.Dt SHA384SUM 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2016-02-24
.Dd February 24, 2016
.Dt SHA512-224SUM 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2016-02-24
.Dd February 24, 2016
.Dt SHA512-256SUM 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt SHA512SUM 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt SLEEP 1
.Os sbase
.Sh NAME

2
sort.1
View File

@ -1,4 +1,4 @@
.Dd 2016-02-17
.Dd February 17, 2016
.Dt SORT 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt SPLIT 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt SPONGE 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt STRINGS 1
.Os sbase
.Sh NAME

2
sync.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt SYNC 1
.Os sbase
.Sh NAME

2
tail.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt TAIL 1
.Os sbase
.Sh NAME

2
tar.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt TAR 1
.Os sbase
.Sh NAME

2
tee.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt TEE 1
.Os sbase
.Sh NAME

2
test.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt TEST 1
.Os sbase
.Sh NAME

2
tftp.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt TFTP 1
.Os sbase
.Sh NAME

2
time.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt TIME 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt TOUCH 1
.Os sbase
.Sh NAME

2
tr.1
View File

@ -1,4 +1,4 @@
.Dd 2016-10-05
.Dd October 5, 2016
.Dt TR 1
.Os sbase
.Sh NAME

2
true.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt TRUE 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2016-02-16
.Dd February 16, 2016
.Dt TSORT 1
.Os sbase
.Sh NAME

2
tty.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt TTY 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt UNAME 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt UNEXPAND 1
.Os sbase
.Sh NAME

2
uniq.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt UNIQ 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt UNLINK 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt UUDECODE 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt UUENCODE 1
.Os sbase
.Sh NAME

2
wc.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt WC 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt WHICH 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2015-12-14
.Dd December 14, 2015
.Dt WHOAMI 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2023-07-30
.Dd July 30, 2023
.Dt XARGS 1
.Os sbase
.Sh NAME

View File

@ -1,4 +1,4 @@
.Dd 2016-12-03
.Dd December 3, 2016
.Dt INSTALL 1
.Os sbase
.Sh NAME

2
yes.1
View File

@ -1,4 +1,4 @@
.Dd 2015-10-08
.Dd October 8, 2015
.Dt YES 1
.Os sbase
.Sh NAME