How do you feel about making a change to the "parsers" & "unparsers" so that
they always read their input on STDIN and output on STDOUT?
Advantages:
- remote administration... the caller of the parser can read the file from
a remote computer and pipes it to the parser. Parsers do not need to know
how to read remote files
Disadvantages:
- parsers cannot work with multiple files
possible workaround: for configuration files with "includes", output it
as an "external" node
- parsers can't run external commands to implement changes
Jason
|