On 18-Sep-99, 23:23 (CDT), Raul Miller <[EMAIL PROTECTED]> wrote: > On Sat, Sep 18, 1999 at 01:23:53PM -0700, Seth R Arnold wrote: > > (Actually, if there is any easy way to use the debian package > > management system to find out this info, I suppose that would make me > > more than happy...) > > Sadly, there's no ready reference for all the various interfaces > which have evolved to extract information out of the packaging > system. However, the following works, at least for now: > > perl -n00e 'print if m(/etc/profile)' /var/lib/dpkg/status
Yech. What's wrong with 'dpkg -S /etc/profile'? Of course, this won't find it if is managed by the maintainer scripts rather than being a dpkg conffile, in which case you're stuck grepping (or perling) /var/lib/dpkg/info/*.postinst.... steveg -- Steve Greenland <[EMAIL PROTECTED]> (Please do not CC me on mail sent to this list; I subscribe to and read every list I post to.)

