style cleanup
[moreutils.git] / isutf8.docbook
blobf0d0dbe51a3e1afc2616807d631bcd15ccd07cbe
1 <?xml version="1.0" encoding="utf-8"?>
3 <!--
5 Copyright 2006 Lars Wirzenius (liw@iki.fi)
7 This program is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by the
9 Free Software Foundation; either version 2 of the License, or (at your
10 option) any later version.
12 This program is distributed in the hope that it will be useful, but
13 WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
15 Public License for more details.
17 You should have received a copy of the GNU General Public License along
18 with this program; if not, write to the Free Software Foundation, Inc.,
19 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 -->
23 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.4//EN"
24 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"
25 []>
27 <refentry>
28 <refentryinfo>
29 <address>
30 <email>liw@iki.fi</email>
31 </address>
32 <author>
33 <firstname>Lars</firstname>
34 <surname>Wirzenius</surname>
35 </author>
36 <date>2006-02-19</date>
37 </refentryinfo>
39 <refmeta>
40 <refentrytitle>isutf8</refentrytitle>
41 <manvolnum>1</manvolnum>
42 <refmiscinfo class="manual">moreutils</refmiscinfo>
43 <refmiscinfo class="source">moreutils</refmiscinfo>
44 </refmeta>
46 <refnamediv>
47 <refname>isutf8</refname>
48 <refpurpose>check whether files are valid UTF-8</refpurpose>
49 </refnamediv>
51 <refsynopsisdiv>
52 <cmdsynopsis>
53 <command>isutf8</command>
54 <arg><option>-hq</option></arg>
55 <arg><option>--help</option></arg>
56 <arg><option>--quiet</option></arg>
57 <group choice="opt">
58 <arg rep="repeat"><replaceable>file</replaceable></arg>
59 </group>
60 </cmdsynopsis>
61 </refsynopsisdiv>
63 <refsect1>
64 <title>DESCRIPTION</title>
66 <para><command>isutf8</command> checks whether files are
67 syntactically valid UTF-8. Input is either files named on the
68 command line, or the standard input. Notices about files with
69 invalid UTF-8 are printed to standard output.</para>
71 </refsect1>
73 <refsect1>
74 <title>OPTIONS</title>
76 <variablelist>
78 <varlistentry>
79 <term><option>-h</option></term>
80 <term><option>--help</option></term>
81 <listitem>
82 <para>Print out a help summary.</para>
83 </listitem>
84 </varlistentry>
86 <varlistentry>
87 <term><option>-q</option></term>
88 <term><option>--quiet</option></term>
89 <listitem>
90 <para>Don't print messages telling which files are
91 invalid UTF-8, merely indicate it with the exit
92 status.</para>
93 </listitem>
94 </varlistentry>
96 </variablelist>
98 </refsect1>
100 <refsect1>
101 <title>EXIT STATUS</title>
103 <para>If the file is valid UTF-8, the exit status is zero.
104 If the file is not valid UTF-8, or there is some
105 error, the exit status is non-zero.</para>
107 </refsect1>
109 <refsect1>
110 <title>AUTHOR</title>
112 <para>
113 Lars Wirzenius
114 </para>
115 </refsect1>
117 <refsect1>
118 <title>SEE ALSO</title>
120 <para>
121 <citerefentry>
122 <refentrytitle>utf8</refentrytitle><manvolnum>7</manvolnum>
123 </citerefentry>
124 </para>
126 </refsect1>
127 </refentry>