pkgsrc-Users archive

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

Re: Sorting problem with pkg_chk -b

On Mon, Aug 25, 2014 at 01:52:13PM +0200, Joerg Sonnenberger wrote:
> On Sat, Aug 23, 2014 at 09:32:55AM +0200, Alan Barrett wrote:
> > I'd suggest fixing it by adding a "sort" sub-command to
> > pkg_admin(8), to sort a list of version numbers, but perhaps
> > somebody else can see how to use some existing pkg_admin
> > sub-commands to achieve the desired result.
> Create a temporary directory, touch foo.tgz for any package foo and run
> PKG_PATH=$MYTMP pkg_admin findbest foopattern. Extract base name from
> the resulting URL.

Alternatively, lsbest can be used as well.


Home | Main Index | Thread Index | Old Index