Subject: Removing the warning about OS mismatch version (pkg_add)
To: None <tech-pkg@netbsd.org>
From: Juan RP <juan@xtrarom.org>
List: tech-pkg
Date: 09/22/2005 09:38:20
Hi, 

The following code may be used in pkg_add to remove the 
warning about "OS mismatch version", just using two patterns
we'll see if the package could be installed without printing
the stupid warning

You can see the files here:

ftp://ftp.netbsd.org/pub/NetBSD/misc/xtraeme/pkgosver/

I would like to have this warning removed if the system is known
to support the package we want to install.

Looks like some people does not want this code committed (hey grant),
but no problem, it may be useful for you to see how to use regexp(3).