bug-unrtf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-unrtf] unrtf ignores --quiet flag


From: Justin Gregory
Subject: [bug-unrtf] unrtf ignores --quiet flag
Date: Wed, 15 Jan 2014 11:04:44 -0600

Hi,

I've been using unrtf 0.21.5 in a small project to convert rtf to
plain text, and I noticed that unrtf is ignoring the '--quiet' flag,
that is, it's always showing the header comments regardless of the
presence or absence of '--quiet':

$ unrtf --quiet --text somefile.rtf
###  Translation from RTF performed by UnRTF, version 0.21.5
### font table contains 3 fonts total

-----------------
...converted text...


I've attached a patch which I believe fixes this.  It seems the quiet
flag was added as a parameter, but it is not actually referenced
anywhere in the code.

-- Justin Gregory

Attachment: patch.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]