NAME

msgattrib - attribute matching and manipulation on message catalog

SYNOPSIS

msgattrib [_O_P_T_I_O_N] [_I_N_P_U_T_F_I_L_E]

DESCRIPTION

Filters the messages of a translation catalog according to their attributes, and manipulates the attributes.

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:

----ttrraannssllaatteedd
keep translated, remove untranslated messages
----uunnttrraannssllaatteedd
keep untranslated, remove translated messages
----nnoo--ffuuzzzzyy
remove 'fuzzy' marked messages
----oonnllyy--ffuuzzzzyy
keep 'fuzzy' marked messages
----nnoo--oobbssoolleettee
remove obsolete #~ messages
----oonnllyy--oobbssoolleettee
keep obsolete #~ messages

Attribute manipulation:

----sseett--ffuuzzzzyy
set all messages 'fuzzy'
----cclleeaarr--ffuuzzzzyy
set all messages non-'fuzzy'
----sseett--oobbssoolleettee
set all messages obsolete
----cclleeaarr--oobbssoolleettee
set all messages non-obsolete
----oonnllyy--ffiillee=_F_I_L_E.po
manipulate only entries listed in FILE.po
----iiggnnoorree--ffiillee=_F_I_L_E.po
manipulate only entries not listed in FILE.po
----ffuuzzzzyy
synonym for ----oonnllyy--ffuuzzzzyy ----cclleeaarr--ffuuzzzzyy
----oobbssoolleettee
synonym for ----oonnllyy--oobbssoolleettee ----cclleeaarr--oobbssoolleettee

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:

--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 msgattrib is maintained as a Texinfo manual. If the info and msgattrib programs are properly installed at your site, the command
info msgattrib

should give you access to the complete manual.