https://bugzilla.redhat.com/show_bug.cgi?id=1321532
Bug ID: 1321532 Summary: msghack drops msgctxt Product: Fedora Version: 23 Component: gettext Assignee: dueno@redhat.com Reporter: tagoh@redhat.com QA Contact: extras-qa@fedoraproject.org CC: dueno@redhat.com, i18n-bugs@lists.fedoraproject.org, petersen@redhat.com, praiskup@redhat.com
Description of problem: Trying to drop strings in msgstr with --empty option in msghack, the result doesn't contain msgctxt which is there in the source.
Version-Release number of selected component (if applicable): gettext-0.19.7-3.fc23.x86_64
How reproducible: always
Steps to Reproduce: 1.msghack --empty <(echo "msgctxt "ctxt"\nmsgid "id"\nmsgstr "string"\n") 2. 3.
Actual results: msgid "id" msgstr ""
Expected results: msgctxt "ctxt" msgid "id" msgstr ""
Additional info: