delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/21/13:26:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <14560-22003352118261544@M2W095.mail2web.com>
X-Priority: 3
Reply-To: lhall AT rfk DOT com
X-Originating-IP: 209.113.174.244
From: "lhall AT pop DOT ma DOT ultranet DOT com" <lhall AT pop DOT ma DOT ultranet DOT com>
To: maxwell AT ldc DOT upenn DOT edu, cygwin AT cygwin DOT com
Subject: RE: apropos, man -k, and makewhatis
Date: Fri, 21 Mar 2003 13:26:15 -0500
MIME-Version: 1.0
X-OriginalArrivalTime: 21 Mar 2003 18:26:15.0322 (UTC) FILETIME=[5B93DFA0:01C2EFD7]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h2LIQPa05734

Sounds like a combination of your path pointing to Windows directories
first (i.e. you have the Windows FIND.EXE) and FAQ entry:

Why doesn't man (or apropos) work?
<http://cygwin.com/faq/faq_4.html#SEC43>

Does that clear up the problem?

Larry

Original Message:
-----------------
From: Mike Maxwell maxwell AT ldc DOT upenn DOT edu
Date: Fri, 21 Mar 2003 12:59:43 -0500
To: cygwin AT cygwin DOT com
Subject: apropos, man -k, and makewhatis


Can you spell frustration?  I think I can, but my spell checker is turned
off.  Anyway--

I wanted to use 'apropos'.  I was running this from a Windows Command Shell
(I know...), and it tells me it can't find 'apropos'.  I beat around inside
the Cygwin installer for awhile (the part where it asks you what packages to
install), couldn't find it there.
Decide maybe 'apropos' is a built-in or alias or s.t.  So then I launched
bash, and ran 'apropos' again:
    apropos name
    name: nothing appropriate
Looks fishy, surely there are dozens of man pages that mention "name".

Thrashed around on the mailing list archives at Cygwin, eventually found
that 'apropos' is just a synonym for 'man -k'.  Tried that, and of course
got the same result: nothing appropriate.

Thrashed around awhile longer, found out I first have to run 'makewhatis'.
(Why didn't the install program for 'whatis' or 'man' do that?)  Tried
that--"command not found".  Looked around in the installer again for
'makewhatis', no luck.  Eventually found out that I already had it, it's in
/usr/sbin, but that's not on my path.  (Why install an executable there, and
not put the dir on the path? Sigh...)

Ran /usr/sbin/makewhatis, get the following error msgs:

FIND: Parameter format not correct
FIND: Parameter format not correct
FIND: Parameter format not correct
FIND: Parameter format not correct
FIND: Parameter format not correct
FIND: Parameter format not correct
FIND: Parameter format not correct
FIND: Parameter format not correct
FIND: Parameter format not correct

Looked into the 'makewhatis' file, which turns out to be just a shell
script.  Opened this in an editor, searched for 'find', found four lines, of
which two actually execute.  Tried running 'find' using the args in the
'makewhatis' script, and get an error msg, but a different one ("Invalid
Switch").

'makewhatis' has a revision date of 23 March 1996.  Maybe there's a newer
version somewhere, but since I can't find any reference to it in the Cygwin
installer, I don't know.

Gave up.  Unless you can help me.
-- 
     Mike Maxwell
     Linguistic Data Consortium
     maxwellNOSPAM AT ldc DOT upenn DOT edu




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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