pkgsrc-Bulk archive

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

Re: pkgsrc NetBSD 3.0_BETA/x86_64 bulk build results 2005-12-09

On Sun, Dec 11, 2005 at 10:58:15PM +0100, Roland Illig wrote:
> This one is very weird. ${PKGNAME:S|nb*||} does not do what I would
> expect it do do, which is stripping the nb* part at the end. Can
> anyone explain that, or do I need to let pkglint warn about every use
> of the :S modifier?

not weird at all, :S modifer is for replacing strings, not patterns.
you want to use :C, ${PKGNAME:C|nb.*||}.


-- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org>   --

Attachment: pgpsNHfqG9o5P.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index