Date: Mon, 23 Nov 1998 22:27:20 -0800 From: bmah@CA.Sandia.GOV (Bruce A. Mah) To: Sue Blake <sue@welearn.com.au> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: what's this file? Message-ID: <199811240627.WAA26328@stennis.ca.sandia.gov> In-Reply-To: Your message of "Tue, 24 Nov 1998 17:12:54 %2B1100." <19981124171254.23210@welearn.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
--==_Exmh_1125158080P Content-Type: text/plain; charset=us-ascii If memory serves me right, Sue Blake wrote: > What's the easiest way to tell what package a file on my system came from? I'm sure there's probably a more elegant way to do this, but what about looking through the +CONTENTS files in /var/db/pkg/*? Something like this: hornet:bmah% cd /var/db/pkg hornet:pkg% grep tclsh */+CONTENTS tcl-7.6/+CONTENTS:bin/tclsh7.6 tcl-7.6/+CONTENTS:man/man1/tclsh.1.gz tcl-8.0.2/+CONTENTS:bin/tclsh8.0 tcl-8.0.2/+CONTENTS:man/man1/tclsh.1.gz (It looks to be kind of hard to find where a file *in a particular directory* came from, due to the syntax of the +CONTENTS files.) Bruce. --==_Exmh_1125158080P Content-Type: application/pgp-signature -----BEGIN PGP MESSAGE----- Version: 2.6.2 iQCVAwUBNlpRx6jOOi0j7CY9AQEDlAQAkxZl73ny/ydFhEOtGWO3wODjDaQSOEW1 EWrF7b3Dm2qCbeSmRkOVC0Q/CINPrsQVRyOvw4rzEJxJR4XHgomI99ahrzr1Fw98 Df9YQvSHKNq4QoY3dQPh+LHq3Y9LuErxPnn0sfpwRRX87lNUCFhy9VDxmiayLvcs FvqHvwnJSw0= =N7Xq -----END PGP MESSAGE----- --==_Exmh_1125158080P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811240627.WAA26328>