Hi Evan, Evan Silberman wrote on Wed, May 01, 2019 at 04:24:51PM -0700:
> pkg_info -R PACKAGE lists the packages that depend on PACKAGE. Is there a > particular reason there's not an analogous option that lists a package's own > dependencies? (i.e., listing the contents of +REQUIRING from the package > db, rather than +REQUIRED_BY) > > (Granted, in asking this question, I have taught myself where to find this > information for installed packages without adding it to pkg_info, but it still > seems like a thing pkg_info could reasonbly be expected to do.) As usual with pkg_add(1), there is already more than one way how it does roughly what you want: $ pkg_info -f mutt | grep ^@depend $ pkg_info -S mutt Sure, those handle indirect dependencies in a sligtly different way than +REQUIRED_BY. But there is value in keeping option proliferation at bay. Yours, Ingo