At 2:57 AM +1100 11/1/2002, Shannon Murdoch wrote:
>When specifying a directory to glob in MacOS X it malfunctions if the path
>contains a space ie. /Users/sydneyshan/University of Newcastle/*
>
>Is there any way around this without needing to replace the directory's
>spaces with underscores etc?

The standard ways are either quoting the entire string or escaping the spaces:

'/Users/sydneyshan/University of Newcastle/*'
 /Users/sydneyshan/University\ of\ Newcastle/*

When dragging from the Finder to Terminal, OS X uses the second approach.

-Charles
 Euonymic Solutions
 [EMAIL PROTECTED]

Reply via email to