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 --no-escape
55 do not use C escapes in output (default)
56
57 -E, --escape
58 use C escapes in output, no extended chars
59
60 --force-po
61 write PO file even if empty
62
63 --indent
64 indented output style
65
66 --keep-header
67 keep header entry unmodified, don't filter it
68
69 --no-location
70 suppress '#: filename:line' lines
71
72 --add-location
73 preserve '#: filename:line' lines (default)
74
75 --strict
76 strict Uniforum output style
77
78 -p, --properties-output
79 write out a Java .properties file
80
81 --stringtable-output
82 write out a NeXTstep/GNUstep .strings file
83
84 -w, --width=NUMBER
85 set output page width
86
87 --no-wrap
88 do not break long message lines, longer than the output page
89 width, into several lines
90
91 -s, --sort-output
92 generate sorted output
93
94 -F, --sort-by-file
95 sort output by file location
96
97 Informative output:
98 -h, --help
99 display this help and exit
100
101 -V, --version
102 output version information and exit
103
105 Written by Bruno Haible.
106
108 Report bugs to <bug-gnu-gettext@gnu.org>.
109
111 Copyright © 2001-2007 Free Software Foundation, Inc. License GPLv3+:
112 GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
113 This is free software: you are free to change and redistribute it.
114 There is NO WARRANTY, to the extent permitted by law.
115
117 The full documentation for msgfilter is maintained as a Texinfo manual.
118 If the info and msgfilter programs are properly installed at your site,
119 the command
120
121 info msgfilter
122
123 should give you access to the complete manual.
124
125
126
127GNU gettext-tools 0.17 November 2007 MSGFILTER(1)