| 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 |
| From: | "Hannu E K Nevalainen" <_garbage_collector_ AT telia DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | RE: "which" command does not expand "~" in path |
| Date: | Sun, 26 Sep 2004 13:23:03 +0200 |
| Message-ID: | <NGBBLLIAMFLGJEOAJCCEIEMEDOAA._garbage_collector_@telia.com> |
| MIME-Version: | 1.0 |
| In-Reply-To: | <20040926061754.GA19075@trixie.casa.cgf.cx> |
| X-IsSubscribed: | yes |
you (cygwin-owner AT cygwin DOT com) wrote on :
> On Sun, Sep 26, 2004 at 11:25:04AM +1000, Errol Smith wrote:
>> I do not know if stat() is expected to interpret ~ as $HOME.
>
> No, it is not.
>
> cgf
FWIW; 'man bash' has a section on Tilde Expansion - I take it as; bash does
this expansion for you, not which.exe -> use $HOME when not typing at the
prompt.
/Hannu E K Nevalainen, B.Sc. EE Microcomputer systems --72-->
** mailing list preference; please keep replies on list **
-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--END OF MESSAGE--
--
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 |