rfc2mib is a short Tcl script which may be used to extract MIB (Management Information Base), PIB (Policy Information Base), and ASN.1 modules from an RFC document. Unlike most extractors, this script is smart enough to recognize ASN.1-style comments prior to or within the module header. It also recognizes the use of the "TagDefaults" part of the module header (not used by MIB modules), module headers that are broken across multiple lines, and macro definitions.
|Tags||Utilities Text Processing Filters Networking Software Development Pre-processors|
|Operating Systems||OS Independent|
Release Notes: The pattern matching rules were modified to recognize the PIB-DEFINITIONS keyword used in the header of COPS-PR-SPPI PIB (Policy Information Base) modules so that they too can be extracted from RFC text files.
Release Notes: A new "-s" option causes the extractor to split the input file into one or more files, each containing a single module and named after the module name with .mib extension. Using this option disables sending the extracted modules to stdout, but the output file can still be provided to get a single file with all modules as well. Using either the -s option or an output file will print the names of the modules to stdout as they are extracted.
No changes have been submitted for this release.