Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Subject: RE: "which" command does not expand "~" in path Date: Sun, 26 Sep 2004 13:23:03 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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/