1MSGUNIQ(1)                       User Commands                      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       --color
64              use colors and other text attributes always
65
66       --color=WHEN
67              use colors and other text attributes if WHEN.  WHEN may be  'al‐
68              ways', 'never', 'auto', or 'html'.
69
70       --style=STYLEFILE
71              specify CSS style rule file for --color
72
73       -e, --no-escape
74              do not use C escapes in output (default)
75
76       -E, --escape
77              use C escapes in output, no extended chars
78
79       --force-po
80              write PO file even if empty
81
82       -i, --indent
83              write the .po file using indented style
84
85       --no-location
86              do not write '#: filename:line' lines
87
88       -n, --add-location
89              generate '#: filename:line' lines (default)
90
91       --strict
92              write out strict Uniforum conforming .po file
93
94       -p, --properties-output
95              write out a Java .properties file
96
97       --stringtable-output
98              write out a NeXTstep/GNUstep .strings file
99
100       -w, --width=NUMBER
101              set output page width
102
103       --no-wrap
104              do  not  break  long  message lines, longer than the output page
105              width, into several lines
106
107       -s, --sort-output
108              generate sorted output
109
110       -F, --sort-by-file
111              sort output by file location
112
113   Informative output:
114       -h, --help
115              display this help and exit
116
117       -V, --version
118              output version information and exit
119

AUTHOR

121       Written by Bruno Haible.
122

REPORTING BUGS

124       Report    bugs    in    the    bug    tracker    at     <https://savan
125       nah.gnu.org/projects/gettext> or by email to <bug-gettext@gnu.org>.
126
128       Copyright  ©  2001-2022 Free Software Foundation, Inc.  License GPLv3+:
129       GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
130       This is free software: you are free  to  change  and  redistribute  it.
131       There is NO WARRANTY, to the extent permitted by law.
132

SEE ALSO

134       The  full  documentation for msguniq is maintained as a Texinfo manual.
135       If the info and msguniq programs are properly installed at  your  site,
136       the command
137
138              info msguniq
139
140       should give you access to the complete manual.
141
142
143
144GNU gettext-tools 0.21.1         October 2022                       MSGUNIQ(1)
Impressum