1MSGATTRIB(1)                          GNU                         MSGATTRIB(1)
2
3
4

NAME

6       msgattrib - attribute matching and manipulation on message catalog
7

SYNOPSIS

9       msgattrib [OPTION] [INPUTFILE]
10

DESCRIPTION

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       -e, --no-escape
90              do not use C escapes in output (default)
91
92       -E, --escape
93              use C escapes in output, no extended chars
94
95       --force-po
96              write PO file even if empty
97
98       -i, --indent
99              write the .po file using indented style
100
101       --no-location
102              do not write '#: filename:line' lines
103
104       -n, --add-location
105              generate '#: filename:line' lines (default)
106
107       --strict
108              write out strict Uniforum conforming .po file
109
110       -p, --properties-output
111              write out a Java .properties file
112
113       --stringtable-output
114              write out a NeXTstep/GNUstep .strings file
115
116       -w, --width=NUMBER
117              set output page width
118
119       --no-wrap
120              do not break long message lines, longer  than  the  output  page
121              width, into several lines
122
123       -s, --sort-output
124              generate sorted output
125
126       -F, --sort-by-file
127              sort output by file location
128
129   Informative output:
130       -h, --help
131              display this help and exit
132
133       -V, --version
134              output version information and exit
135

AUTHOR

137       Written by Bruno Haible.
138

REPORTING BUGS

140       Report bugs to <bug-gnu-gettext@gnu.org>.
141
143       Copyright  ©  2001-2007 Free Software Foundation, Inc.  License GPLv3+:
144       GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
145       This is free software: you are free  to  change  and  redistribute  it.
146       There is NO WARRANTY, to the extent permitted by law.
147

SEE ALSO

149       The full documentation for msgattrib is maintained as a Texinfo manual.
150       If the info and msgattrib programs are properly installed at your site,
151       the command
152
153              info msgattrib
154
155       should give you access to the complete manual.
156
157
158
159GNU gettext-tools 0.17           November 2007                    MSGATTRIB(1)
Impressum