* mandoc on macOS
@ 2023-04-04 19:09 Anthony J. Bentley
2023-05-09 8:27 ` Jan Stary
0 siblings, 1 reply; 3+ messages in thread
From: Anthony J. Bentley @ 2023-04-04 19:09 UTC (permalink / raw)
To: discuss
Hi,
From Apple's open source releases page, it appears that in macOS 13.0
(released last October), their man(1) implementation was replaced with
a shell script that calls mandoc. As a fallback, if mandoc gives a
-Wunsupp warning and groff is installed, the script uses groff instead.
https://opensource.apple.com/releases/
https://github.com/apple-oss-distributions/man/blob/man-44/man/man.sh
--
Anthony J. Bentley
--
To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mandoc on macOS
2023-04-04 19:09 mandoc on macOS Anthony J. Bentley
@ 2023-05-09 8:27 ` Jan Stary
2023-05-09 8:36 ` Jan Stary
0 siblings, 1 reply; 3+ messages in thread
From: Jan Stary @ 2023-05-09 8:27 UTC (permalink / raw)
To: discuss
On Apr 04 13:09:28, anthony@anjbe.name wrote:
> >From Apple's open source releases page, it appears that in macOS 13.0
> (released last October), their man(1) implementation was replaced with
> a shell script that calls mandoc. As a fallback, if mandoc gives a
> -Wunsupp warning and groff is installed, the script uses groff instead.
Strangely, even calling just 'man' tries to display something, saying
"This manpage is not compatible with mandoc(1) and might display incorrectly"
and displaying what seems to be the content of the script /usr/bin/man
> https://github.com/apple-oss-distributions/man/blob/man-44/man/man.sh
They also install an /etc/man.conf incompatible with mandoc.
Generaly, Apple seems to be replacing the fundamental tools
with *BSD tools (mostly FreeBSD, pf being a notable exception).
--
To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mandoc on macOS
2023-05-09 8:27 ` Jan Stary
@ 2023-05-09 8:36 ` Jan Stary
0 siblings, 0 replies; 3+ messages in thread
From: Jan Stary @ 2023-05-09 8:36 UTC (permalink / raw)
To: discuss
[-- Attachment #1: Type: text/plain, Size: 476 bytes --]
On May 09 10:27:36, hans@stare.cz wrote:
> On Apr 04 13:09:28, anthony@anjbe.name wrote:
> > >From Apple's open source releases page, it appears that in macOS 13.0
> > (released last October), their man(1) implementation was replaced with
> > a shell script that calls mandoc.
$ mandoc -Tlint /usr/share/man/man*/* > /tmp/lint
$ wc -l /tmp/lint
98362 /tmp/lint
Attached in case Ingo wants to have a look.
Please let me know if there are specific tests to be done.
Jan
[-- Attachment #2: lint.gz --]
[-- Type: application/x-gunzip, Size: 958475 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-05-09 8:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-04 19:09 mandoc on macOS Anthony J. Bentley
2023-05-09 8:27 ` Jan Stary
2023-05-09 8:36 ` Jan Stary
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).