annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/share/man/man1/msgattrib.1 @ 68:5028fdace37b

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 16:23:26 -0400
parents
children
rev   line source
jpayne@68 1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6.
jpayne@68 2 .TH MSGATTRIB "1" "February 2024" "GNU gettext-tools 0.22.5" "User Commands"
jpayne@68 3 .SH NAME
jpayne@68 4 msgattrib \- attribute matching and manipulation on message catalog
jpayne@68 5 .SH SYNOPSIS
jpayne@68 6 .B msgattrib
jpayne@68 7 [\fI\,OPTION\/\fR] [\fI\,INPUTFILE\/\fR]
jpayne@68 8 .SH DESCRIPTION
jpayne@68 9 .\" Add any additional description here
jpayne@68 10 .PP
jpayne@68 11 Filters the messages of a translation catalog according to their attributes,
jpayne@68 12 and manipulates the attributes.
jpayne@68 13 .PP
jpayne@68 14 Mandatory arguments to long options are mandatory for short options too.
jpayne@68 15 .SS "Input file location:"
jpayne@68 16 .TP
jpayne@68 17 INPUTFILE
jpayne@68 18 input PO file
jpayne@68 19 .TP
jpayne@68 20 \fB\-D\fR, \fB\-\-directory\fR=\fI\,DIRECTORY\/\fR
jpayne@68 21 add DIRECTORY to list for input files search
jpayne@68 22 .PP
jpayne@68 23 If no input file is given or if it is \-, standard input is read.
jpayne@68 24 .SS "Output file location:"
jpayne@68 25 .TP
jpayne@68 26 \fB\-o\fR, \fB\-\-output\-file\fR=\fI\,FILE\/\fR
jpayne@68 27 write output to specified file
jpayne@68 28 .PP
jpayne@68 29 The results are written to standard output if no output file is specified
jpayne@68 30 or if it is \-.
jpayne@68 31 .SS "Message selection:"
jpayne@68 32 .TP
jpayne@68 33 \fB\-\-translated\fR
jpayne@68 34 keep translated, remove untranslated messages
jpayne@68 35 .TP
jpayne@68 36 \fB\-\-untranslated\fR
jpayne@68 37 keep untranslated, remove translated messages
jpayne@68 38 .TP
jpayne@68 39 \fB\-\-no\-fuzzy\fR
jpayne@68 40 remove 'fuzzy' marked messages
jpayne@68 41 .TP
jpayne@68 42 \fB\-\-only\-fuzzy\fR
jpayne@68 43 keep 'fuzzy' marked messages
jpayne@68 44 .TP
jpayne@68 45 \fB\-\-no\-obsolete\fR
jpayne@68 46 remove obsolete #~ messages
jpayne@68 47 .TP
jpayne@68 48 \fB\-\-only\-obsolete\fR
jpayne@68 49 keep obsolete #~ messages
jpayne@68 50 .SS "Attribute manipulation:"
jpayne@68 51 .TP
jpayne@68 52 \fB\-\-set\-fuzzy\fR
jpayne@68 53 set all messages 'fuzzy'
jpayne@68 54 .TP
jpayne@68 55 \fB\-\-clear\-fuzzy\fR
jpayne@68 56 set all messages non\-'fuzzy'
jpayne@68 57 .TP
jpayne@68 58 \fB\-\-set\-obsolete\fR
jpayne@68 59 set all messages obsolete
jpayne@68 60 .TP
jpayne@68 61 \fB\-\-clear\-obsolete\fR
jpayne@68 62 set all messages non\-obsolete
jpayne@68 63 .TP
jpayne@68 64 \fB\-\-previous\fR
jpayne@68 65 when setting 'fuzzy', keep previous msgids
jpayne@68 66 of translated messages.
jpayne@68 67 .TP
jpayne@68 68 \fB\-\-clear\-previous\fR
jpayne@68 69 remove the "previous msgid" from all messages
jpayne@68 70 .TP
jpayne@68 71 \fB\-\-empty\fR
jpayne@68 72 when removing 'fuzzy', also set msgstr empty
jpayne@68 73 .TP
jpayne@68 74 \fB\-\-only\-file\fR=\fI\,FILE\/\fR.po
jpayne@68 75 manipulate only entries listed in FILE.po
jpayne@68 76 .TP
jpayne@68 77 \fB\-\-ignore\-file\fR=\fI\,FILE\/\fR.po
jpayne@68 78 manipulate only entries not listed in FILE.po
jpayne@68 79 .TP
jpayne@68 80 \fB\-\-fuzzy\fR
jpayne@68 81 synonym for \fB\-\-only\-fuzzy\fR \fB\-\-clear\-fuzzy\fR
jpayne@68 82 .TP
jpayne@68 83 \fB\-\-obsolete\fR
jpayne@68 84 synonym for \fB\-\-only\-obsolete\fR \fB\-\-clear\-obsolete\fR
jpayne@68 85 .SS "Input file syntax:"
jpayne@68 86 .TP
jpayne@68 87 \fB\-P\fR, \fB\-\-properties\-input\fR
jpayne@68 88 input file is in Java .properties syntax
jpayne@68 89 .TP
jpayne@68 90 \fB\-\-stringtable\-input\fR
jpayne@68 91 input file is in NeXTstep/GNUstep .strings syntax
jpayne@68 92 .SS "Output details:"
jpayne@68 93 .TP
jpayne@68 94 \fB\-\-color\fR
jpayne@68 95 use colors and other text attributes always
jpayne@68 96 .TP
jpayne@68 97 \fB\-\-color\fR=\fI\,WHEN\/\fR
jpayne@68 98 use colors and other text attributes if WHEN.
jpayne@68 99 WHEN may be 'always', 'never', 'auto', or 'html'.
jpayne@68 100 .TP
jpayne@68 101 \fB\-\-style\fR=\fI\,STYLEFILE\/\fR
jpayne@68 102 specify CSS style rule file for \fB\-\-color\fR
jpayne@68 103 .TP
jpayne@68 104 \fB\-e\fR, \fB\-\-no\-escape\fR
jpayne@68 105 do not use C escapes in output (default)
jpayne@68 106 .TP
jpayne@68 107 \fB\-E\fR, \fB\-\-escape\fR
jpayne@68 108 use C escapes in output, no extended chars
jpayne@68 109 .TP
jpayne@68 110 \fB\-\-force\-po\fR
jpayne@68 111 write PO file even if empty
jpayne@68 112 .TP
jpayne@68 113 \fB\-i\fR, \fB\-\-indent\fR
jpayne@68 114 write the .po file using indented style
jpayne@68 115 .TP
jpayne@68 116 \fB\-\-no\-location\fR
jpayne@68 117 do not write '#: filename:line' lines
jpayne@68 118 .TP
jpayne@68 119 \fB\-n\fR, \fB\-\-add\-location\fR
jpayne@68 120 generate '#: filename:line' lines (default)
jpayne@68 121 .TP
jpayne@68 122 \fB\-\-strict\fR
jpayne@68 123 write out strict Uniforum conforming .po file
jpayne@68 124 .TP
jpayne@68 125 \fB\-p\fR, \fB\-\-properties\-output\fR
jpayne@68 126 write out a Java .properties file
jpayne@68 127 .TP
jpayne@68 128 \fB\-\-stringtable\-output\fR
jpayne@68 129 write out a NeXTstep/GNUstep .strings file
jpayne@68 130 .TP
jpayne@68 131 \fB\-w\fR, \fB\-\-width\fR=\fI\,NUMBER\/\fR
jpayne@68 132 set output page width
jpayne@68 133 .TP
jpayne@68 134 \fB\-\-no\-wrap\fR
jpayne@68 135 do not break long message lines, longer than
jpayne@68 136 the output page width, into several lines
jpayne@68 137 .TP
jpayne@68 138 \fB\-s\fR, \fB\-\-sort\-output\fR
jpayne@68 139 generate sorted output
jpayne@68 140 .TP
jpayne@68 141 \fB\-F\fR, \fB\-\-sort\-by\-file\fR
jpayne@68 142 sort output by file location
jpayne@68 143 .SS "Informative output:"
jpayne@68 144 .TP
jpayne@68 145 \fB\-h\fR, \fB\-\-help\fR
jpayne@68 146 display this help and exit
jpayne@68 147 .TP
jpayne@68 148 \fB\-V\fR, \fB\-\-version\fR
jpayne@68 149 output version information and exit
jpayne@68 150 .SH AUTHOR
jpayne@68 151 Written by Bruno Haible.
jpayne@68 152 .SH "REPORTING BUGS"
jpayne@68 153 Report bugs in the bug tracker at <https://savannah.gnu.org/projects/gettext>
jpayne@68 154 or by email to <bug\-gettext@gnu.org>.
jpayne@68 155 .SH COPYRIGHT
jpayne@68 156 Copyright \(co 2001\-2023 Free Software Foundation, Inc.
jpayne@68 157 License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
jpayne@68 158 .br
jpayne@68 159 This is free software: you are free to change and redistribute it.
jpayne@68 160 There is NO WARRANTY, to the extent permitted by law.
jpayne@68 161 .SH "SEE ALSO"
jpayne@68 162 The full documentation for
jpayne@68 163 .B msgattrib
jpayne@68 164 is maintained as a Texinfo manual. If the
jpayne@68 165 .B info
jpayne@68 166 and
jpayne@68 167 .B msgattrib
jpayne@68 168 programs are properly installed at your site, the command
jpayne@68 169 .IP
jpayne@68 170 .B info msgattrib
jpayne@68 171 .PP
jpayne@68 172 should give you access to the complete manual.