"which" command does not expand "~" in path
Hannu E K Nevalainen
_garbage_collector_@telia.com
Sun Sep 26 14:54:00 GMT 2004
you (cygwin-owner@cygwin.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/
More information about the Cygwin
mailing list