tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg_info(1) and wildcards / by-file listenings



On Mon, 2 Mar 2009, Joerg Sonnenberger wrote:

On Sun, Mar 01, 2009 at 11:27:37PM +0000, David Brownlee wrote:
        So that would be changing the current behaviour? I have no
        objections to that, but it might be nice if pkgsrc provided
        a convenient way to list a subset of installed packages in
        a 'one line per package' form.

No, I don't want to change the way -e or -E behave. One possible change
is:
        pkg_info -e xtrans -e xsnow
        xtrans-1.2.2
        xsnow-1.42nb2

instead of the current
        pkg_info -e xtrans -e xsnow
        xsnow-1.42nb2

...but of course, the question remains if that output should be sorted
as well.

        Sorry - I was unclear. You stated that you wanted wildcards
        on -e to be an error, though it currently works
        eg: 'pkg_info -e lib\*'

        Also, would 'pkg_info -e xtrans xsnow' not make sense?

--
                David/absolute       -- www.NetBSD.org: No hype required --


Home | Main Index | Thread Index | Old Index