home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!Germany.EU.net!sapwdf!wohler
- From: wohler@sapwdf.UUCP (Bill Wohler)
- Newsgroups: comp.mail.mh
- Subject: Re: finding the MH lib directory
- Message-ID: <4086@sapwdf.UUCP>
- Date: 16 Nov 92 16:59:19 GMT
- References: <BxLMuD.1BJ@irvine.com>
- Reply-To: Bill Wohler <wohler@sap-ag.de>
- Organization: SAP AG, Walldorf, Germany
- Lines: 15
-
- jsweet@irvine.com (Jerry Sweet) writes:
- >Is there a way to make mhpath cough up the path to the MH library
- >directory?
-
- yup!
-
- #! /bin/ksh
- mhpath=$(whence mhpath)
- lib=$(strings $mhpath | grep mtstailor)
- dirname $lib
-
- okay, so i'm a little punchy...
-
- Bill Wohler <wohler@sap-ag.de> <sapwdf!wohler>
- Heidelberg Red Barons Ultimate Frisbee Team
-