• 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: %%%{PBXFilePath}%%% and whitespaces
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: %%%{PBXFilePath}%%% and whitespaces


  • Subject: Re: %%%{PBXFilePath}%%% and whitespaces
  • From: Tommy Nordgren <email@hidden>
  • Date: Wed, 26 Jan 2005 14:28:48 +0100

The best way to implement scripting is to bypass the shell entirely, by writing the script
in Perl or Python instead. A perl script can execute another tools, without expanding a string with embedded spaces into multiple arguments.
Jan 26, 2005 kl. 1:33 PM skrev OS:


I'm trying to do some bash scripts for Xcode and I find that they don't work if there's a whitespace in the path to the file. It seems that %%%{PBXFilePath}%%% doesn't do '\' escaping, so the path is cut and the file isn't found.

Is that right or am I doing something wrong? BTW, I have already read 'Using Scripts To Customize Xcode'.


cheers, OS

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >%%%{PBXFilePath}%%% and whitespaces (From: OS <email@hidden>)

  • Prev by Date: %%%{PBXFilePath}%%% and whitespaces
  • Next by Date: Re: %%%{PBXFilePath}%%% and whitespaces
  • Previous by thread: %%%{PBXFilePath}%%% and whitespaces
  • Next by thread: Re: %%%{PBXFilePath}%%% and whitespaces
  • Index(es):
    • Date
    • Thread