无法在 MacOS 上查看自定义 man 文件

Unable to view custom man file on MacOS

我在 man 路径中添加了一个 man 文件,但是当我试图通读 man 命令时;我收到“没有手动输入命令”。

O/P of man --path

/opt/local/share/man:/usr/local/share/man:/usr/share/man:/Library/Apple/usr/share/man:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/share/man:/Applications/Xcode.app/Contents/Developer/usr/share/man:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/man

O/P 人 /usr/local/share/man/man1/speedtest.5.gz

    SPEEDTEST()                                                        SPEEDTEST()

Name
       speedtest  - Speedtest CLI by Ookla is the official command line client
       for testing the speed and performance of your internet connection.

Version
       1.0.0

Synopsis
           speedtest [-aAbBfhiIpPsv] [--ca-certificate=path] [--format=[=format-
type]] [--help] [--interface=interface]
           [--ip=ip_address] [--output-header] [--precision=num_decimal_places] 
[--progress=yes|no]
           [--selection-details] [--server-id=id] [--servers] [--unit=[=unit-of-
measure]] [--version]

Description
       speedtest is an application that measures the latency,  jitter,  packet
       loss,  download  bandwidth, and upload bandwidth of the network connec-
       tion between the client and a nearby Speedtest Server.
.......
男子速度测试

O/P

No manual entry for speedtest

请帮忙。

更新:问题是由于在第 1 节目录中使用了第 5 节后缀。将 man 文件重命名为 speedtest.1.gz 并且它有效。感谢@Mark Setchell 的帮助。

将第 5 节后缀重命名为第 1 节,因为 man 文件位于第 1 节目录中。