1MSGFILTER(1) GNU MSGFILTER(1)
2
3
4
6 msgfilter - edit translations of message catalog
7
9 msgfilter [OPTION] FILTER [FILTER-OPTION]
10
12 Applies a filter to all translations of a translation catalog.
13
14 Mandatory arguments to long options are mandatory for short options
15 too.
16
17 Input file location:
18 -i, --input=INPUTFILE
19 input PO file
20
21 -D, --directory=DIRECTORY
22 add DIRECTORY to list for input files search
23
24 If no input file is given or if it is -, standard input is read.
25
26 Output file location:
27 -o, --output-file=FILE
28 write output to specified file
29
30 The results are written to standard output if no output file is speci‐
31 fied or if it is -.
32
33 The FILTER can be any program that reads a translation from standard
34 input and writes a modified translation to standard output.
35
36 Useful FILTER-OPTIONs when the FILTER is 'sed':
37 -e, --expression=SCRIPT
38 add SCRIPT to the commands to be executed
39
40 -f, --file=SCRIPTFILE
41 add the contents of SCRIPTFILE to the commands to be executed
42
43 -n, --quiet, --silent
44 suppress automatic printing of pattern space
45
46 Input file syntax:
47 -P, --properties-input
48 input file is in Java .properties syntax
49
50 --stringtable-input
51 input file is in NeXTstep/GNUstep .strings syntax
52
53 Output details:
54 --color
55 use colors and other text attributes always
56
57 --color=WHEN
58 use colors and other text attributes if WHEN. WHEN may be
59 'always', 'never', 'auto', or 'html'.
60
61 --style=STYLEFILE
62 specify CSS style rule file for --color
63
64 --no-escape
65 do not use C escapes in output (default)
66
67 -E, --escape
68 use C escapes in output, no extended chars
69
70 --force-po
71 write PO file even if empty
72
73 --indent
74 indented output style
75
76 --keep-header
77 keep header entry unmodified, don't filter it
78
79 --no-location
80 suppress '#: filename:line' lines
81
82 --add-location
83 preserve '#: filename:line' lines (default)
84
85 --strict
86 strict Uniforum output style
87
88 -p, --properties-output
89 write out a Java .properties file
90
91 --stringtable-output
92 write out a NeXTstep/GNUstep .strings file
93
94 -w, --width=NUMBER
95 set output page width
96
97 --no-wrap
98 do not break long message lines, longer than the output page
99 width, into several lines
100
101 -s, --sort-output
102 generate sorted output
103
104 -F, --sort-by-file
105 sort output by file location
106
107 Informative output:
108 -h, --help
109 display this help and exit
110
111 -V, --version
112 output version information and exit
113
115 Written by Bruno Haible.
116
118 Report bugs to <bug-gnu-gettext@gnu.org>.
119
121 Copyright © 2001-2010 Free Software Foundation, Inc. License GPLv3+:
122 GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
123 This is free software: you are free to change and redistribute it.
124 There is NO WARRANTY, to the extent permitted by law.
125
127 The full documentation for msgfilter is maintained as a Texinfo manual.
128 If the info and msgfilter programs are properly installed at your site,
129 the command
130
131 info msgfilter
132
133 should give you access to the complete manual.
134
135
136
137GNU gettext-tools 0.18.1 June 2010 MSGFILTER(1)