diff options
author | Wichert Akkerman <wakkerma@debian.org> | 2002-04-14 14:29:01 +0000 |
---|---|---|
committer | Wichert Akkerman <wakkerma@debian.org> | 2002-04-14 14:29:01 +0000 |
commit | 7b923a07c3044cd29ad221228603e1fb054e13f8 (patch) | |
tree | c1884d47837612de78cbb09e30fa8cb9f5e71af6 | |
parent | be3d1b41214812e581a13992480693e0f5181f05 (diff) | |
download | dpkg-7b923a07c3044cd29ad221228603e1fb054e13f8.tar.gz |
Add DocBook version of cleanup-info(8) manpage
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | man/en/cleanup-info.8.sgml | 147 |
2 files changed, 148 insertions, 0 deletions
@@ -1,6 +1,7 @@ Sun Apr 14 16:13:16 CEST 2002 Wichert Akkerman <wichert@deephackmode.org> * man/en/deb-old.5.sgml: DocBook version of deb-old manpage + * man/en/cleanup-info.8.sgml: DocBook version of cleanup-info manpage Sun Apr 14 00:49:09 CEST 2002 Wichert Akkerman <wichert@deephackmode.org> diff --git a/man/en/cleanup-info.8.sgml b/man/en/cleanup-info.8.sgml new file mode 100644 index 000000000..ca5b7200e --- /dev/null +++ b/man/en/cleanup-info.8.sgml @@ -0,0 +1,147 @@ +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"> + +<refentry id='cleanup-info.8'> + <refmeta> + <refentrytitle>cleanup-info</refentrytitle> + <manvolnum>8</manvolnum> + <refmiscinfo class='source'>Debian Project</refmiscinfo> + <refmiscinfo class='manual'>dpkg suite</refmiscinfo> + </refmeta> + + <refnamediv> + <refname>cleanup-info</refname> + <refpurpose>clean up the mess that install-info may have done</refpurpose> + </refnamediv> + + <refsynopsisdiv> + <cmdsynopsis> + <command>cleanup-info</command> + <arg choice="opt">--help</arg> + <arg choice="opt">--unsafe</arg> + <arg choice="opt">--version</arg> + <arg choice="opt">--</arg> + <arg choice="opt"><replaceable>dirname</replaceable></arg> + </cmdsynopsis> + </refsynopsisdiv> + + <refsect1> + <title>Description</title> + + <para> + <command>cleanup-info</command> is Perl script that tries to clean up the + mess that bogus install-info may have created. It gathers all sections + with the same heading into a single one. It tries to be smart about + cases and trailing colon/spaces. + </para> + + <para> + Other clean-ups include removing of empty sections, and squeezing the + blank lines (in entries part only). + </para> + + <para> + Order of sections is preserved (the first encountered section counts). + Order of entries within a section is preserved. + </para> + + <warning> + <para> + Please be <emphasis>extremely careful</emphasis> when using this + utility - it might not be 100% safe. <command>cleanup-info</command> + tries to be careful with your info <filename>dir</filename> file, but + only until it writes it. You should back the file up prior to using + this. + </para> + </warning> + </refsect1> + + <refsect1> + <title>Options</title> + + <variablelist> + <varlistentry> + <term> + <cmdsynopsis> + <arg choice="plain">--help</arg> + </cmdsynopsis> + </term> + + <listitem> + <para> + Output the help screen and exit successfully. + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term> + <cmdsynopsis> + <arg choice="plain">--unsafe</arg> + </cmdsynopsis> + </term> + + <listitem> + <para> + Set some additional possibly useful options. + </para> + + <warning> + <para> + the <option>--unsafe</option> option may garble an otherwise + correct file! + </para> + </warning> + </listitem> + </varlistentry> + + <varlistentry> + <term> + <cmdsynopsis> + <arg choice="plain">--version</arg> + </cmdsynopsis> + </term> + + <listitem> + <para> + Output version and exit successfully. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsect1> + + <refsect1> + <title>Files</title> + + <variablelist> + <varlistentry> + <term><filename>/usr/info/dir</filename></term> + <term><filename><dirname>/dir</filename></term> + + <listitem> + <para> + The info directory file. The lock file is named the same, with + "<filename>.lock</filename>" suffix. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsect1> + + <refsect1> + <title>See Also</title> + + <para> + <citerefentry> + <refentrytitle>install-info</refentrytitle> + <manvolnum>8</manvolnum> + </citerefentry>, + + <citerefentry> + <refentrytitle>info</refentrytitle> + <manvolnum>1</manvolnum> + </citerefentry> + </para> + </refsect1> +</refentry> + |