I've been looking through the man page for cards, and found the command 'cards query <a file>', which lets me
see in which of my installed packages appears a given file; for example,
$ cards query strftime
Retrieve info about the 481 packages: 100 %
Package File
bash usr/lib/bash/strftime
python usr/lib/python3.8/test/__pycache__/test_strftime.cpython-38.opt-1.pyc
python usr/lib/python3.8/test/__pycache__/test_strftime.cpython-38.opt-2.pyc
python usr/lib/python3.8/test/__pycache__/test_strftime.cpython-38.pyc
python usr/lib/python3.8/test/test_strftime.py
python2 usr/lib/python2.7/test/test_strftime.py
python2 usr/lib/python2.7/test/test_strftime.pyc
python2 usr/lib/python2.7/test/test_strftime.pyo
Not bad; but I'd like to be able to do this with packages that live in the NuTyX package database, as I would in Debian with the 'apt-file' program. (For example, I may be trying to install something, and the installation process complains there's a certain C header missing; I'd then run apt-file on that C header, and then in turn install the corresponding package.) Though, my current case is a bit more mundane than that; I just notice that I'm missing some man pages:
$ man 3 printf
No manual entry for printf in section 3
$ man 3 strftime
No manual entry for strftime in section 3
Usually, if I know which package I'm dealing with, I can just do
get <package>.man
and I'm done; but this time I don't know what the package is!