i had a use for listing ip addresses by domain the other day. grep and awk were making a few mistakes so i decided to bring out the big guns. then ndb/requery dom 'example.com$' ip did what i wanted. contrib/pull quanstro/ndbrequery.
- erik NDBREQUERY(8) NDBREQUERY(8) NAME requery - search ndb tuple values by regular expression SYNOPSIS ndb/requery [ -i ] [ -f ndbfile ] attr regex [ rattr ] DESCRIPTION Ndb/requery searches the database dbfile (/lib/ndb/local by default) for an attribute of type attr and value that matches regex. The -i flag specifies a case-insensitive search.