v.in.dlg-matt

I have been processing DLG's using v.in.dlg with the 'matt' option. Has anyone written or been using a script to automate selecting desired attribute codes and converting the resulting file to a dig_cat file? If so please respond to:

Sharon Shin
National Biological Survey

sharon@its.nbs.gov
303-969-2599 (voice)
303-969-2822 (fax)

THANKS!!! $:^)