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