cs::GNUInfo - parse and transcribe GNU info files
use cs::GNUInfo;
The cs::GNUInfo module parses GNU info(1) files
and will transcribe them to perlpod(1) format
for ready conversion to other useful formats.
Extract the block type and following parameters from the header line of an info block. Returns an array of (type,field1,value1,field2,value2,...).
Instantiate a new cs::GNUInfo object based upon the named file.
RunQueue()
After instantiation the object is initially empty, with the named file queued for processing (via the NoteFile method below). This method processes every queued file, which should result in processing of the entire info section because subsidiary files are queued during this procedure and processed before return.
Queue the named file for processing. file is resolved into a full pathname with respect to the root file of the object.
Read lines from the cs::Source object source (associated with the file filename), assembling them into info structures: text, menus, etc.
Return the cs::GNUINfo::Node object for the supplied nodename.
Write a perlpod(1) transcription of the info object
to the cs::Sink object sink.
``*note'' tags spanning two lines are not recognised, and remain in the text.
info2pod(1), info2man(1), pod2man(1), perlpod(1)
Cameron Simpson <cs@zip.com.au>