It's like the UofA agrep (approximate pattern matching), but has a couple more
options and a free license (LGPL).  There's also libtre, which is their version 
of a regexp
library (the library name nicely doesn't conflict with anything else).  And to 
actually
use the library for development, there are obviously some include files.  See
http://www.laurikari.net/tre/
for more info.

It compiles quite painlessly on Solaris.  If there is an idiot's guide to spec 
files,
I'd probably try to put one together, but absent that, I don't know if my 
ever-shrinking
attention span is up to figuring that out.  (hint: a skeleton or specific spec 
file that would
serve as a good example of building something that needs just the typical wget, 
untar,
./configure, make sequence might be a help; I would hope such generic cases 
would reduce
to little more than fill-in-the-blanks)

As a trivial example of what agrep can do:

$ agrep -3 Stuper-Luser /etc/passwd
root:x:0:1:Super-User:/:/sbin/sh

(one deletion, two replacements, I think that would be; anyway, -2 doesn't 
match)
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to