tech-pkg archive

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

Re: pkg_info foo tries to read ./foo



On Tue, Jul 04, 2017 at 07:49:58PM +0200, Edgar Fuß wrote:
> > Right, make it an explicit pattern
> So if I pkg_info cups-*, I get info for both cups and cups-filters.
> Using cups-[0-9]* seems to work, but can I be sure the version cannot be 
> alpha2 or rc7?
> This all seems silly given the system knows which part of the human-readble 
> string belongs to the package name and which part is the version. I would need 
> a non--F flag.

You can also use cups>=0. -[0-9]* is the canonical 'any version' pattern
in pkgsrc, so it is pretty much guaranteed to work.

Joerg


Home | Main Index | Thread Index | Old Index