spaces in paths in bash, and the FAQ

Michael Hoffman grouse@mail.utexas.edu
Wed Oct 3 09:36:00 GMT 2001


On Wed, 3 Oct 2001, Robinow, David wrote:

>  Well, you've screwed yourself by putting spaces in your path.

You could always use (e.g.) /c/progra~1/python21. Ick.

In any case, the following example will work:

$ pico=/c/Program\ Files/Pine/pico.exe
$ echo $pico
/c/Program Files/Pine/pico.exe
$ "$pico"

And pico starts up just fine.
-- 
Michael Hoffman <grouse@mail.utexas.edu>
The University of Texas at Austin


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list