This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Gettext distro replaces /usr/info/dir



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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]