Shannon,

You should post some sample code that's not working for you. Those answers are correct, so if it's not working we must not understand the problem. For example, what do you mean by "specifying a directory to glob in MacOS X" and "it malfunctions"?

-Ken

On Friday, November 1, 2002, at 05:50 PM, Shannon Murdoch wrote:


I'll give that another go...

I tried both these approaches when originally testing, but it didn't have
any affect. Is there anything else I might be able to try?

-Shannon Murdoch


On 1/11/02 3:44 AM, in article p05200e09b9e70dcab48d@[206.124.22.67],
"Charles Albrecht" <[EMAIL PROTECTED]> wrote:

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