cleanup-info.8 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. .TH cleanup\-info 8 "2007-03-06" "Debian Project" "dpkg utilities"
  2. .SH NAME
  3. cleanup\-info \- clean up the mess that bogus install\-info may have done
  4. .
  5. .SH SYNOPSIS
  6. .B cleanup\-info
  7. .RI [ options ]
  8. .RB [ \-\- ]
  9. .RI [ dirname ]
  10. .
  11. .SH DESCRIPTION
  12. .B cleanup\-info
  13. is a Perl script that tries to clean up the mess that bogus
  14. .BR install\-info (8)
  15. may have done.
  16. It gathers all sections with the same heading into a single one.
  17. It tries to be smart about cases and trailing colon/spaces.
  18. .br
  19. Other clean-ups include removing of empty sections, and squeezing the blank
  20. lines (in entries part only).
  21. .sp
  22. Order of sections is preserved (the first encountered section counts).
  23. Order of entries within a section is preserved.
  24. .sp
  25. Please be \fBextremely careful\fP when using this utility - it might
  26. not be 100% safe. cleanup\-info tries to be careful with your info dir
  27. file, but only until it writes it. You should back the file up prior
  28. to using this script.
  29. .
  30. .SH OPTIONS
  31. .TP
  32. .B \-\-unsafe
  33. Set some additional possibly useful options.
  34. .br
  35. .B "Warning: the `\-\-unsafe' option may garble an otherwise correct file!"
  36. .TP
  37. .B \-\-help
  38. Show the usage message and exit.
  39. .TP
  40. .B \-\-version
  41. Show the version and exit.
  42. .
  43. .SH FILES
  44. .TP
  45. .IR /usr/info/dir " or " <dirname>/dir
  46. The info directory file. The lock file is named the same, with ".lock" suffix.
  47. .
  48. .SH BUGS
  49. Probably many.
  50. .
  51. .SH SEE ALSO
  52. .BR install\-info (8),
  53. .BR info (1).
  54. .SH AUTHOR
  55. Copyright (C) 1996 Kim-Minh Kaplan.
  56. .sp
  57. This is free software; see the GNU General Public Licence
  58. version 2 or later for copying conditions. There is NO warranty.