1MSGUNIQ(1)                            GNU                           MSGUNIQ(1)
2
3
4

NAME

6       msguniq - unify duplicate translations in message catalog
7

SYNOPSIS

9       msguniq [OPTION] [INPUTFILE]
10

DESCRIPTION

12       Unifies  duplicate translations in a translation catalog.  Finds dupli‐
13       cate translations of the same message ID.  Such duplicates are  invalid
14       input  for other programs like msgfmt, msgmerge or msgcat.  By default,
15       duplicates are merged together.  When using the --repeated option, only
16       duplicates  are output, and all other messages are discarded.  Comments
17       and extracted comments will be cumulated, except that if --use-first is
18       specified,  they  will be taken from the first translation.  File posi‐
19       tions will be cumulated.  When using the  --unique  option,  duplicates
20       are discarded.
21
22       Mandatory  arguments  to  long  options are mandatory for short options
23       too.
24
25   Input file location:
26       INPUTFILE
27              input PO file
28
29       -D, --directory=DIRECTORY
30              add DIRECTORY to list for input files search
31
32       If no input file is given or if it is -, standard input is read.
33
34   Output file location:
35       -o, --output-file=FILE
36              write output to specified file
37
38       The results are written to standard output if no output file is  speci‐
39       fied or if it is -.
40
41   Message selection:
42       -d, --repeated
43              print only duplicates
44
45       -u, --unique
46              print only unique messages, discard duplicates
47
48   Input file syntax:
49       -P, --properties-input
50              input file is in Java .properties syntax
51
52       --stringtable-input
53              input file is in NeXTstep/GNUstep .strings syntax
54
55   Output details:
56       -t, --to-code=NAME
57              encoding for output
58
59       --use-first
60              use  first  available  translation for each message, don't merge
61              several translations
62
63       -e, --no-escape
64              do not use C escapes in output (default)
65
66       -E, --escape
67              use C escapes in output, no extended chars
68
69       --force-po
70              write PO file even if empty
71
72       -i, --indent
73              write the .po file using indented style
74
75       --no-location
76              do not write '#: filename:line' lines
77
78       -n, --add-location
79              generate '#: filename:line' lines (default)
80
81       --strict
82              write out strict Uniforum conforming .po file
83
84       -p, --properties-output
85              write out a Java .properties file
86
87       --stringtable-output
88              write out a NeXTstep/GNUstep .strings file
89
90       -w, --width=NUMBER
91              set output page width
92
93       --no-wrap
94              do not break long message lines, longer  than  the  output  page
95              width, into several lines
96
97       -s, --sort-output
98              generate sorted output
99
100       -F, --sort-by-file
101              sort output by file location
102
103   Informative output:
104       -h, --help
105              display this help and exit
106
107       -V, --version
108              output version information and exit
109

AUTHOR

111       Written by Bruno Haible.
112

REPORTING BUGS

114       Report bugs to <bug-gnu-gettext@gnu.org>.
115
117       Copyright  ©  2001-2007 Free Software Foundation, Inc.  License GPLv3+:
118       GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
119       This is free software: you are free  to  change  and  redistribute  it.
120       There is NO WARRANTY, to the extent permitted by law.
121

SEE ALSO

123       The  full  documentation for msguniq is maintained as a Texinfo manual.
124       If the info and msguniq programs are properly installed at  your  site,
125       the command
126
127              info msguniq
128
129       should give you access to the complete manual.
130
131
132
133GNU gettext-tools 0.17           November 2007                      MSGUNIQ(1)
Impressum