Subject: Re: "install-info -remove" before "install-info"??
To: Todd Vierling <tv@pobox.com>
From: Thorsten Frueauf <s_frueau@ira.uka.de>
List: tech-pkg
Date: 02/22/1999 14:26:29
Hello!

> : Is this "install-info -remove" really needed? Why?
> 
> Prevents duplicate entries, particularly if something was forcibly deleted
> or half-installed and then reinstalled.

What exactly do you mean?

[frueauf@cyberlap]/home/frueauf/Diplomarbeit/tex/da> install-info /usr/pkg/info/bison.info /tmp/dir
[frueauf@cyberlap]/home/frueauf/Diplomarbeit/tex/da> cat /tmp/dir
This is the file .../info/dir, which contains the
topmost node of the Info hierarchy, called (dir)Top.
The first time you invoke Info you start off looking at this node.

File: dir,      Node: Top,      This is the top of the INFO tree

  This (the Directory node) gives a menu of major topics.
  Typing "q" exits, "?" lists all Info commands, "d" returns here,
  "h" gives a primer for first-timers,
  "mEmacs<Return>" visits the Emacs manual, etc.

  In Emacs, you can click mouse button 2 on a menu item or cross
reference
  to select it.

* Menu:

Miscellaneous
* bison: (bison).       GNU Project parser generator (yacc replacement).
[frueauf@cyberlap]/home/frueauf/Diplomarbeit/tex/da> install-info
/usr/pkg/info/bison.info /tmp/dir
[frueauf@cyberlap]/home/frueauf/Diplomarbeit/tex/da> cat /tmp/dir
      This is the file .../info/dir, which contains the
topmost node of the Info hierarchy, called (dir)Top.
The first time you invoke Info you start off looking at this node.

File: dir,      Node: Top,      This is the top of the INFO tree

  This (the Directory node) gives a menu of major topics.
  Typing "q" exits, "?" lists all Info commands, "d" returns here,
  "h" gives a primer for first-timers,
  "mEmacs<Return>" visits the Emacs manual, etc.

  In Emacs, you can click mouse button 2 on a menu item or cross
reference
  to select it.

* Menu:

Miscellaneous
* bison: (bison).       GNU Project parser generator (yacc replacement).

So install-info does not create double entries... and if there is an
old entrie where e.g. some whitespace or tab is different - it can't
remove the entry if its spelled differently in the info file anyway.

But maybe I missed something.

Greets
-- 
   Name  : Thorsten Frueauf            Milano@irc cri@onaliM       //
   E-Mail: s_frueau@ira.uka.de oder ukfy@rz.uni-karlsruhe.de     \X/