#13 Add --quiet to the format command

closed-fixed
code patch (9)
5
2010-04-08
2008-04-11
drusifer
No

The format command can produce a lot of warnings and errors when converting html documents to xml. This patch adds a quiet mode (-Q) which suppresses the error messages that get generated by libxml2. This makes it easier to use the xmlstarlet command in a pipeline without having to worry about messy stderr output.

Discussion

  • drusifer
    drusifer
    2008-04-11

    Patch to xml_format.c 1.25 which adds --quiet mode

     
    Attachments
    • assigned_to: nobody --> dmichelsen
    • status: open --> open-accepted
     
    • status: open-accepted --> closed-accepted
     
    • status: closed-accepted --> closed-fixed