[augeas-devel] Write to file from dump-xml command

Dominic Cleal dcleal at redhat.com
Mon Jun 2 14:00:23 UTC 2014


Hi all,

The dump-xml command can take an optional second argument of a filename
to output the generated XML to.  Unfortunately it seems that it's
completely unused (https://bugzilla.redhat.com/show_bug.cgi?id=1100106).

https://github.com/hercules-team/augeas/blob/master/src/augrun.c#L952-L954

Does anybody care strongly whether this feature should or should not exist?

I'm inclined to remove it and suggest that augtool stdout should be
redirected if users want to save XML output to a file.

Cheers,

-- 
Dominic Cleal
Red Hat Engineering




More information about the augeas-devel mailing list