delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/12/05/08:49:31

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Tue, 05 Dec 2000 13:47:51 +0000
From: David Evans <zetatech AT ix DOT netcom DOT com>
Subject: Re: Gettext distro replaces /usr/info/dir
To: cygwin AT sources DOT redhat DOT com
Message-id: <3A2C8187.4ABD146B@ix.netcom.com>
MIME-version: 1.0
X-Mailer: Mozilla 4.76 [en] (Win98; U)
X-Accept-Language: en

Given that I was already in /usr/info looking into why there were so few
entries in the info menu, I used:
'ls' *info |xargs --max-args=1 install-info --dir-file=dir

This appeared to be needed due to install-info's limitation to only one
input file.
The following, more generic solutions, would also work:
find /usr/info -name "*.info" -type f -print | xargs --max-args=1
install-info --dir-file=/usr/info/dir
or
find / -name "*.info" -type f -print | xargs --max-args=1 install-info
--dir-file=/usr/info/dir

I tried it with dir.info, but the existence of that file causes "info"
to core dump on my machine.

a bit more testing... Ahh... That's not quite right.  The existence of
_both_ /usr/info/dir _and_ /usr/info/dir.info (both with valid data)
causes the core dump.

-Dave


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019