Re: [OT] OSX-10.9.3 cd ~'/ problem with spaces'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Never mind... I didn't read far enough down my inbox to see the SOLVED section of the thread.

On Thu, 5 Jun 2014, Paul Heinlein wrote:

On Wed, 4 Jun 2014, James B. Byrne wrote:

 On Tue, June 3, 2014 13:03, Paul Heinlein wrote:
>  Try
> > cd "${HOME}/Library/Application Support/"
>
 hll-m22:~ byrnejb$ cd "${HOME}/Library/Application Support/"
 -bash: cd: /Users/byrnejb/Library/Application: No such file or directory

It looks to me like your quotes are getting lost somehow. I was able to use that very snippet on every Mac to which I have access.

Obviously, $HOME was expanded correctly, so that's not a problem, but there's something really odd about the double-quotes not being honored.

You might try the C-escape syntax (note prefixed $):

 cd $'/Users/byrnejb/Library/Application Support'

Which $SHELL are you using?

Does your shell rc file have any funky options set like rcquotes or nonstandard $IFS?



--
Paul Heinlein
heinlein@xxxxxxxxxx
45°38' N, 122°6' W
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux