Re: how to show files list of package?

From: andrew clarke <mail_at_ozzmosis.com>
Date: Tue, 30 May 2023 02:03:25 UTC
On 2023-05-30 09:41:40, hlyg (hlyg2023@outlook.com) wrote:

> i've read pkg manual, unable to figure out how to use it, as i'm stupid
>
> given a pakage name, how to show file list of that package, using pkg?

pkg list packagename

$ pkg list cal
/usr/local/bin/cal
/usr/local/etc/cal/cal.col.sample
/usr/local/etc/cal/cal.dat.sample
/usr/local/share/doc/cal/readme.cal
/usr/local/share/licenses/cal-4.1/LICENSE
/usr/local/share/licenses/cal-4.1/PD
/usr/local/share/licenses/cal-4.1/catalog.mk
/usr/local/share/man/man1/cal.1.gz

$ pkg help list
`list` is an alias to `info -ql`