Escape ' at the beginning of lines
Clean up the installation process
This commit fixes the use of DESTDIR and places pc files in
/usr/share/pkgconfig, as there aren't any libraries shipped in the
resulting package, so no need for an arch-specific pc file. Also allows
to set CFLAGS without disabling the warnings.
Cast ctype.h inputs to unsigned char
Fuckings to glibc, jesus christ that code was a nightmare
Read glibc's ctype.h and then compare it to musl's src/ctype/isalpha.c
string.c: swap calloc arguments
Suppress sentence spacing after end-of-sentence characters.
This should fix the inconsistent spacing issue mentioned in . I also
fixed a spacing in issue in the man page.
Drop flex/bison from .build.yml
These were necessary for annotatec, which has been removed.
.build.yml: remove unused secret
.build.yml: drop annotations
Fix parsing of line breaks followed by underlined text
Fix parsing of line breaks without newline
Add basic working tests for line breaks parsing
Allow subsection in preamble
Subsections are useful in case on name conflicts within a section.
Typically man pages in distributions are using the 'p' subsection.
They are also needed for the man pages of wrapper commands for example.
Section needs to be explicitly defined
The absence of value between the section parentheses resulted in the
section being 0 (header files), which is unlikely to be the one wanted
Fix `date --date` dependent test
This test depends on a nonportable option for date(1). I am not sure
that there is a good portable way to do this, so I just directly
included the seconds since epoch that it would have computed. We're
testing scdoc, not testing the local system's date command.
Fix timezone-dependent tests
These tests fail depending on timezone and current time if the date
differs from the UTC date. This was remedied by using `date -u`, which
Expand preamble written to man page output