• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Help Making Shell Script Accept Spaces
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help Making Shell Script Accept Spaces


  • Subject: Re: Help Making Shell Script Accept Spaces
  • From: Nick Zitzmann <email@hidden>
  • Date: Thu, 7 May 2009 00:33:50 -0600


On May 7, 2009, at 12:19 AM, Bridger Maxwell wrote:

Can you help me make it compatible with
directories that contain space characters?


Always, always, always wrap paths in shell scripts using quotes.

"\"@executable_path/../Frameworks/SCMercury.framework/Versions/A/ SCMercury\""

You put one too many quotes in those paths. Remove the inner quotes and the \s and it ought to work.


Nick Zitzmann
<http://www.chronosnet.com/>



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Help Making Shell Script Accept Spaces
      • From: Bridger Maxwell <email@hidden>
References: 
 >Help Making Shell Script Accept Spaces (From: Bridger Maxwell <email@hidden>)

  • Prev by Date: Re: Strategy for acting on changes in child objects?
  • Next by Date: Re: Strategy for acting on changes in child objects?
  • Previous by thread: Help Making Shell Script Accept Spaces
  • Next by thread: Re: Help Making Shell Script Accept Spaces
  • Index(es):
    • Date
    • Thread