"which" command does not expand "~" in path (base-files update needed)

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Tue Sep 28 19:45:00 GMT 2004


On Tue, Sep 28, 2004 at 06:49:44PM +0100, Dave Korn wrote:
>  Wonder if this is a real bug then, or if I've misread the shell parsing rules?
>They are a bit ridiculously complicated and full of exceptions and special
>cases.....

It seems like it's a bug.

Of course there is a simple solution: lose the quotes.  AFAICT, they
aren't needed.

export PATH=~/bin:$PATH

cgf

--
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