On Tue, Jun 03, 2014, James B. Byrne wrote:
Apologies for this OT post. I need some help debugging a bash script. It just happens to be provided by Apple Inc.
In a terminal session under OSX-10.9.3 I want do do this:
cd ~/'Library/Application Support'
Works for me on my OS X 10.8.5 Macbook Pro, xterm under xQuartz and under the Terminal.app.
Which is a simple enough request. However, OSX returns: cd /users/byrnejb/Library/Application: No such file or directory. The space evidently acts as a delimiter to cd even though the path is quoted.
However this:
ls -l ~/'Library/Application Support'
Perhaps you have 'cd' as an alias or a function which loses the quotes when passing to the real cd?
Bill