NAME

msguniq - unify duplicate translations in message catalog

SYNOPSIS

msguniq [_O_P_T_I_O_N] [_I_N_P_U_T_F_I_L_E]

DESCRIPTION

Unifies duplicate translations in a translation catalog. Finds duplicate translations of the same message ID. Such duplicates are invalid input for other programs like msgfmt, msgmerge or msgcat. By default, duplicates are merged together. When using the ----rreeppeeaatteedd option, only duplicates are output, and all other messages are discarded. Comments and extracted comments will be cumulated, except that if ----uussee--ffiirrsstt is specified, they will be taken from the first translation. File positions will be cumulated. When using the ----uunniiqquuee option, duplicates are discarded.

Mandatory arguments to long options are mandatory for short options too.

Input file location:

INPUTFILE
input PO file
--DD, ----ddiirreeccttoorryy=_D_I_R_E_C_T_O_R_Y
add DIRECTORY to list for input files search

If no input file is given or if it is -, standard input is read.

Output file location:

--oo, ----oouuttppuutt--ffiillee=_F_I_L_E
write output to specified file

The results are written to standard output if no output file is specified or if it is -.

Message selection:

--dd, ----rreeppeeaatteedd
print only duplicates
--uu, ----uunniiqquuee
print only unique messages, discard duplicates

Input file syntax:

--PP, ----pprrooppeerrttiieess--iinnppuutt
input file is in Java .properties syntax
----ssttrriinnggttaabbllee--iinnppuutt
input file is in NeXTstep/GNUstep .strings syntax

Output details:

--tt, ----ttoo--ccooddee=_N_A_M_E
encoding for output
----uussee--ffiirrsstt
use first available translation for each message, don't merge several translations
--ee, ----nnoo--eessccaappee
do not use C escapes in output (default)
--EE, ----eessccaappee
use C escapes in output, no extended chars
----ffoorrccee--ppoo
write PO file even if empty
--ii, ----iinnddeenntt
write the .po file using indented style
----nnoo--llooccaattiioonn
do not write '#: filename:line' lines
--nn, ----aadddd--llooccaattiioonn
generate '#: filename:line' lines (default)
----ssttrriicctt
write out strict Uniforum conforming .po file
--pp, ----pprrooppeerrttiieess--oouuttppuutt
write out a Java .properties file
----ssttrriinnggttaabbllee--oouuttppuutt
write out a NeXTstep/GNUstep .strings file
--ww, ----wwiiddtthh=_N_U_M_B_E_R
set output page width
----nnoo--wwrraapp
do not break long message lines, longer than the output page width, into several lines
--ss, ----ssoorrtt--oouuttppuutt
generate sorted output
--FF, ----ssoorrtt--bbyy--ffiillee
sort output by file location

Informative output:

--hh, ----hheellpp
display this help and exit
--VV, ----vveerrssiioonn
output version information and exit

AUTHOR

Written by Bruno Haible.

REPORTING BUGS

Report bugs to . Copyright © 2001-2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

SEE ALSO

The full documentation for msguniq is maintained as a Texinfo manual. If the info and msguniq programs are properly installed at your site, the command
info msguniq

should give you access to the complete manual.