ecd2xml - converts text in ECD format to an XML equivalent
ecd2xml is a script that takes ECD data (whether it be in a file or a stream), and turns it into XML. The benefit of this is buzzword compliance and faster parsing. James Clark's expat can parse busybox.xecd 60 times faster than Embedix::ECD's Parse::RecDescent parser can parse busybox.ecd. expat is probably more robust than the parser I made, too.
This displays the help text.
This sets the number of spaces to indent for each new nesting level in the XML document. The default value is 2.
This sets the number of spaces to indent the whole XML document. The default value is 2.
Instead of printing the XML document to STDOUT, the document will be written to a file of the same name as that being worked on w/ the exception that its extension will be ".xecd" instead of ".ecd".
This option is meaningless when working with an ECD coming in from STDIN.
This will preserve the comments in the ECD by turning them into XML comments. The downside of this is that although the generated XML will be well-formed, it will not be valid according to the DTD.
This error occurs whenever an imbalanced tag is found.
John BEPPU <email@example.com>