carta
cleanup-info(8)

cleanup-info8

Clean up the mess that bogus install-info may have done

Usage

cleanup-info [options] [--] [dirname]

Overview

cleanup-info is a Perl script that tries to clean up the mess that bogus install-info(8) may have done. It gathers all sections with the same heading into a single one. It tries to be smart about cases and trailing colon/spaces.
Other clean-ups include removing of empty sections, and squeezing the blank lines (in entries part only).

Order of sections is preserved (the first encountered section counts). Order of entries within a section is preserved.

Please be extremely careful when using this utility - it might not be 100% safe. cleanup-info tries to be careful with your info dir file, but only until it writes it. You should back the file up prior to using this script.

Options

--unsafe

Set some additional possibly useful options.
Warning: the `--unsafe' option may garble an otherwise correct file!

--help

Show the usage message and exit.

--version

Show the version and exit.

Files

/usr/info/dir or <dirname>/dir

The info directory file. The lock file is named the same, with ".lock" suffix.

History

  • Debian 5.0 (Lenny): the text shown here
  • Debian 4.0 (Etch)
  • Debian 3.1 (Sarge)
  • Debian 3.0 (Woody) to Debian 2.2 (Potato)

Bugs

Probably many.

Author

Copyright (C) 1996 Kim-Minh Kaplan

This is free software; see the GNU General Public Licence version 2 or later for copying conditions. There is NO WARRANTY.

From dpkg 1.14.31 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.