| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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: | <6.1.2.0.1.20040929100541.02841230@mail.ros.com.au> |
| X-Sender: | errol AT mail DOT ros DOT com DOT au (Unverified) |
| Date: | Wed, 29 Sep 2004 10:08:17 +1000 |
| To: | cygwin AT cygwin DOT com |
| From: | Errol Smith <errol AT ros DOT com DOT au> |
| Subject: | Re: "which" command does not expand "~" in path (base-files update needed) |
| In-Reply-To: | <20040928153144.GM26145@trixie.casa.cgf.cx> |
| References: | <6 DOT 1 DOT 2 DOT 0 DOT 1 DOT 20040929010527 DOT 027f4eb0 AT mail DOT ros DOT com DOT au> <20040928153144 DOT GM26145 AT trixie DOT casa DOT cgf DOT cx> |
| Mime-Version: | 1.0 |
| X-IsSubscribed: | yes |
At 01:31 AM 29/09/2004, Christopher Faylor wrote:
> > # Set MANPATH so it includes users' private man if it exists
> > # if [ -d ~/man ]; then
> >-# MANPATH="~/man:${MANPATH}"
> >+# MANPATH="${HOME}/man:${MANPATH}"
> > # fi
> >
> > # Set INFOPATH so it includes users' private info if it exists
> > # if [ -d ~/info ]; then
> >-# INFOPATH="~/info:${INFOPATH}"
> >+# INFOPATH="${HOME}/info:${INFOPATH}"
> > # fi
>
>I don't know if man or info deal properly with ~ but neither of the
>above should cause a problem for which.
I realise they don't affect "which", but I was assuming they might affect
man and/or info. See Igors message
(http://www.cygwin.com/ml/cygwin/2004-09/msg01565.html) which seems to
confirm my suspicions. Also, it was simply for consistency (no point doing
an assignment one way on one line & another way on another without a good
reason).
E
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |