man-pages/man1/msgattrib.1.html
2021-03-31 01:06:50 +01:00

222 lines
6.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of MSGATTRIB</TITLE>
</HEAD><BODY>
<H1>MSGATTRIB</H1>
Section: GNU (1)<BR>Updated: June 2016<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
msgattrib - attribute matching and manipulation on message catalog
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>msgattrib</B>
[<I>OPTION</I>] [<I>INPUTFILE</I>]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
Filters the messages of a translation catalog according to their attributes,
and manipulates the attributes.
<P>
Mandatory arguments to long options are mandatory for short options too.
<A NAME="lbAE">&nbsp;</A>
<H3>Input file location:</H3>
<DL COMPACT>
<DT id="1">INPUTFILE<DD>
input PO file
<DT id="2"><B>-D</B>, <B>--directory</B>=<I>DIRECTORY</I><DD>
add DIRECTORY to list for input files search
</DL>
<P>
If no input file is given or if it is -, standard input is read.
<A NAME="lbAF">&nbsp;</A>
<H3>Output file location:</H3>
<DL COMPACT>
<DT id="3"><B>-o</B>, <B>--output-file</B>=<I>FILE</I><DD>
write output to specified file
</DL>
<P>
The results are written to standard output if no output file is specified
or if it is -.
<A NAME="lbAG">&nbsp;</A>
<H3>Message selection:</H3>
<DL COMPACT>
<DT id="4"><B>--translated</B><DD>
keep translated, remove untranslated messages
<DT id="5"><B>--untranslated</B><DD>
keep untranslated, remove translated messages
<DT id="6"><B>--no-fuzzy</B><DD>
remove 'fuzzy' marked messages
<DT id="7"><B>--only-fuzzy</B><DD>
keep 'fuzzy' marked messages
<DT id="8"><B>--no-obsolete</B><DD>
remove obsolete #~ messages
<DT id="9"><B>--only-obsolete</B><DD>
keep obsolete #~ messages
</DL>
<A NAME="lbAH">&nbsp;</A>
<H3>Attribute manipulation:</H3>
<DL COMPACT>
<DT id="10"><B>--set-fuzzy</B><DD>
set all messages 'fuzzy'
<DT id="11"><B>--clear-fuzzy</B><DD>
set all messages non-'fuzzy'
<DT id="12"><B>--set-obsolete</B><DD>
set all messages obsolete
<DT id="13"><B>--clear-obsolete</B><DD>
set all messages non-obsolete
<DT id="14"><B>--previous</B><DD>
when setting 'fuzzy', keep previous msgids
of translated messages.
<DT id="15"><B>--clear-previous</B><DD>
remove the &quot;previous msgid&quot; from all messages
<DT id="16"><B>--empty</B><DD>
when removing 'fuzzy', also set msgstr empty
<DT id="17"><B>--only-file</B>=<I>FILE</I>.po<DD>
manipulate only entries listed in FILE.po
<DT id="18"><B>--ignore-file</B>=<I>FILE</I>.po<DD>
manipulate only entries not listed in FILE.po
<DT id="19"><B>--fuzzy</B><DD>
synonym for <B>--only-fuzzy</B> <B>--clear-fuzzy</B>
<DT id="20"><B>--obsolete</B><DD>
synonym for <B>--only-obsolete</B> <B>--clear-obsolete</B>
</DL>
<A NAME="lbAI">&nbsp;</A>
<H3>Input file syntax:</H3>
<DL COMPACT>
<DT id="21"><B>-P</B>, <B>--properties-input</B><DD>
input file is in Java .properties syntax
<DT id="22"><B>--stringtable-input</B><DD>
input file is in NeXTstep/GNUstep .strings syntax
</DL>
<A NAME="lbAJ">&nbsp;</A>
<H3>Output details:</H3>
<DL COMPACT>
<DT id="23"><B>--color</B><DD>
use colors and other text attributes always
<DT id="24"><B>--color</B>=<I>WHEN</I><DD>
use colors and other text attributes if WHEN.
WHEN may be 'always', 'never', 'auto', or 'html'.
<DT id="25"><B>--style</B>=<I>STYLEFILE</I><DD>
specify CSS style rule file for <B>--color</B>
<DT id="26"><B>-e</B>, <B>--no-escape</B><DD>
do not use C escapes in output (default)
<DT id="27"><B>-E</B>, <B>--escape</B><DD>
use C escapes in output, no extended chars
<DT id="28"><B>--force-po</B><DD>
write PO file even if empty
<DT id="29"><B>-i</B>, <B>--indent</B><DD>
write the .po file using indented style
<DT id="30"><B>--no-location</B><DD>
do not write '#: filename:line' lines
<DT id="31"><B>-n</B>, <B>--add-location</B><DD>
generate '#: filename:line' lines (default)
<DT id="32"><B>--strict</B><DD>
write out strict Uniforum conforming .po file
<DT id="33"><B>-p</B>, <B>--properties-output</B><DD>
write out a Java .properties file
<DT id="34"><B>--stringtable-output</B><DD>
write out a NeXTstep/GNUstep .strings file
<DT id="35"><B>-w</B>, <B>--width</B>=<I>NUMBER</I><DD>
set output page width
<DT id="36"><B>--no-wrap</B><DD>
do not break long message lines, longer than
the output page width, into several lines
<DT id="37"><B>-s</B>, <B>--sort-output</B><DD>
generate sorted output
<DT id="38"><B>-F</B>, <B>--sort-by-file</B><DD>
sort output by file location
</DL>
<A NAME="lbAK">&nbsp;</A>
<H3>Informative output:</H3>
<DL COMPACT>
<DT id="39"><B>-h</B>, <B>--help</B><DD>
display this help and exit
<DT id="40"><B>-V</B>, <B>--version</B><DD>
output version information and exit
</DL>
<A NAME="lbAL">&nbsp;</A>
<H2>AUTHOR</H2>
Written by Bruno Haible.
<A NAME="lbAM">&nbsp;</A>
<H2>REPORTING BUGS</H2>
Report bugs to &lt;<A HREF="mailto:bug-gnu-gettext@gnu.org">bug-gnu-gettext@gnu.org</A>&gt;.
<A NAME="lbAN">&nbsp;</A>
<H2>COPYRIGHT</H2>
Copyright &#169; 2001-2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later &lt;<A HREF="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</A>&gt;
<BR>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
<A NAME="lbAO">&nbsp;</A>
<H2>SEE ALSO</H2>
The full documentation for
<B>msgattrib</B>
is maintained as a Texinfo manual. If the
<B>info</B>
and
<B>msgattrib</B>
programs are properly installed at your site, the command
<DL COMPACT>
<DT id="41"><DD>
<B>info msgattrib</B>
</DL>
<P>
should give you access to the complete manual.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="42"><A HREF="#lbAB">NAME</A><DD>
<DT id="43"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="44"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DL>
<DT id="45"><A HREF="#lbAE">Input file location:</A><DD>
<DT id="46"><A HREF="#lbAF">Output file location:</A><DD>
<DT id="47"><A HREF="#lbAG">Message selection:</A><DD>
<DT id="48"><A HREF="#lbAH">Attribute manipulation:</A><DD>
<DT id="49"><A HREF="#lbAI">Input file syntax:</A><DD>
<DT id="50"><A HREF="#lbAJ">Output details:</A><DD>
<DT id="51"><A HREF="#lbAK">Informative output:</A><DD>
</DL>
<DT id="52"><A HREF="#lbAL">AUTHOR</A><DD>
<DT id="53"><A HREF="#lbAM">REPORTING BUGS</A><DD>
<DT id="54"><A HREF="#lbAN">COPYRIGHT</A><DD>
<DT id="55"><A HREF="#lbAO">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:19 GMT, March 31, 2021
</BODY>
</HTML>