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