.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24. .TH MSGATTRIB "1" "June 2016" "GNU gettext-tools 0.19.8.1" GNU .SH NAME msgattrib \- attribute matching and manipulation on message catalog .SH SYNOPSIS .B msgattrib [\fIOPTION\fR] [\fIINPUTFILE\fR] .SH DESCRIPTION .\" Add any additional description here .PP Filters the messages of a translation catalog according to their attributes, and manipulates the attributes. .PP Mandatory arguments to long options are mandatory for short options too. .SS "Input file location:" .TP INPUTFILE input PO file .TP \fB\-D\fR, \fB\-\-directory\fR=\fIDIRECTORY\fR add DIRECTORY to list for input files search .PP If no input file is given or if it is -, standard input is read. .SS "Output file location:" .TP \fB\-o\fR, \fB\-\-output\-file\fR=\fIFILE\fR write output to specified file .PP The results are written to standard output if no output file is specified or if it is -. .SS "Message selection:" .TP \fB\-\-translated\fR keep translated, remove untranslated messages .TP \fB\-\-untranslated\fR keep untranslated, remove translated messages .TP \fB\-\-no\-fuzzy\fR remove 'fuzzy' marked messages .TP \fB\-\-only\-fuzzy\fR keep 'fuzzy' marked messages .TP \fB\-\-no\-obsolete\fR remove obsolete #~ messages .TP \fB\-\-only\-obsolete\fR keep obsolete #~ messages .SS "Attribute manipulation:" .TP \fB\-\-set\-fuzzy\fR set all messages 'fuzzy' .TP \fB\-\-clear\-fuzzy\fR set all messages non-'fuzzy' .TP \fB\-\-set\-obsolete\fR set all messages obsolete .TP \fB\-\-clear\-obsolete\fR set all messages non-obsolete .TP \fB\-\-previous\fR when setting 'fuzzy', keep previous msgids of translated messages. .TP \fB\-\-clear\-previous\fR remove the "previous msgid" from all messages .TP \fB\-\-empty\fR when removing 'fuzzy', also set msgstr empty .TP \fB\-\-only\-file\fR=\fIFILE\fR.po manipulate only entries listed in FILE.po .TP \fB\-\-ignore\-file\fR=\fIFILE\fR.po manipulate only entries not listed in FILE.po .TP \fB\-\-fuzzy\fR synonym for \fB\-\-only\-fuzzy\fR \fB\-\-clear\-fuzzy\fR .TP \fB\-\-obsolete\fR synonym for \fB\-\-only\-obsolete\fR \fB\-\-clear\-obsolete\fR .SS "Input file syntax:" .TP \fB\-P\fR, \fB\-\-properties\-input\fR input file is in Java .properties syntax .TP \fB\-\-stringtable\-input\fR input file is in NeXTstep/GNUstep .strings syntax .SS "Output details:" .TP \fB\-\-color\fR use colors and other text attributes always .TP \fB\-\-color\fR=\fIWHEN\fR use colors and other text attributes if WHEN. WHEN may be 'always', 'never', 'auto', or 'html'. .TP \fB\-\-style\fR=\fISTYLEFILE\fR specify CSS style rule file for \fB\-\-color\fR .TP \fB\-e\fR, \fB\-\-no\-escape\fR do not use C escapes in output (default) .TP \fB\-E\fR, \fB\-\-escape\fR use C escapes in output, no extended chars .TP \fB\-\-force\-po\fR write PO file even if empty .TP \fB\-i\fR, \fB\-\-indent\fR write the .po file using indented style .TP \fB\-\-no\-location\fR do not write '#: filename:line' lines .TP \fB\-n\fR, \fB\-\-add\-location\fR generate '#: filename:line' lines (default) .TP \fB\-\-strict\fR write out strict Uniforum conforming .po file .TP \fB\-p\fR, \fB\-\-properties\-output\fR write out a Java .properties file .TP \fB\-\-stringtable\-output\fR write out a NeXTstep/GNUstep .strings file .TP \fB\-w\fR, \fB\-\-width\fR=\fINUMBER\fR set output page width .TP \fB\-\-no\-wrap\fR do not break long message lines, longer than the output page width, into several lines .TP \fB\-s\fR, \fB\-\-sort\-output\fR generate sorted output .TP \fB\-F\fR, \fB\-\-sort\-by\-file\fR sort output by file location .SS "Informative output:" .TP \fB\-h\fR, \fB\-\-help\fR display this help and exit .TP \fB\-V\fR, \fB\-\-version\fR output version information and exit .SH AUTHOR Written by Bruno Haible. .SH "REPORTING BUGS" Report bugs to . .SH COPYRIGHT Copyright \(co 2001-2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. .SH "SEE ALSO" The full documentation for .B msgattrib is maintained as a Texinfo manual. If the .B info and .B msgattrib programs are properly installed at your site, the command .IP .B info msgattrib .PP should give you access to the complete manual.