On Sun, 7 Jun 2020 at 21:11, Ottavio Caruso <ottavio2006-usenet2...@yahoo.com> wrote: > > Hi, > > "pkg_info -L PACKAGE-NAME" > > will give me a list of all the files within each package, regardless > of whether the package is installed or not. > > How can I restrict the output to only installed packages, making it > fail if the package is not installed? > > I could do: > > "pkg_info -f PACKAGE-NAME " >
Correction: "pkg_info -f" will also show me the packing list of remote packages, so that is not an option either. -- Ottavio Caruso