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.*||}. regards, -- -- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org> --
Attachment:
pgpsNHfqG9o5P.pgp
Description: PGP signature