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

Brian Ford ford@vss.fsi.com
Tue Sep 28 19:48:00 GMT 2004


On Tue, 28 Sep 2004, Christopher Faylor wrote:

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

IMHO, they are.  Windows programs often put directories containing spaces
in the system path.  ex:

/cygdrive/c/Program Files/ATI Technologies/ATI Control Panel

> export PATH=~/bin:$PATH

How 'bout using a temp, or just plain $HOME as suggested before?

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...

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