Re: ConvertCocoa64: spaces in filename problem
Re: ConvertCocoa64: spaces in filename problem
- Subject: Re: ConvertCocoa64: spaces in filename problem
- From: Sherm Pendley <email@hidden>
- Date: Mon, 11 Jan 2010 11:21:20 -0500
Completely agree with the problem and your suggested alternative, but
this ain't the place to file bug reports. You should file this at:
<http://bugreporter.apple.com>
sherm--
On Mon, Jan 11, 2010 at 10:56 AM, A.M. <email@hidden> wrote:
> On this page:
>
> http://developer.apple.com/mac/library/documentation/cocoa/Conceptual/Cocoa64BitGuide/ConvertingExistingApp/ConvertingExistingApp.html#//apple_ref/doc/uid/TP40004247-CH5-SW5
>
> Apple suggests using:
>
> /Developer/Extras/64BitConversion/ConvertCocoa64 `find . -name '*.[hm]' | xargs`
>
> However, that combination of "xargs" and "find" fails to account for filenames with elements that need to be escaped, such as spaces. You may not notice that the utility didn't process such files because the ruby script prints a line for each file, effectively hiding the errors.
>
> A better incantation is:
>
> find . -name '*.[hm]' -print0| xargs -0 /Developer/Extras/64BitConversion/ConvertCocoa64
>
> Cheers,
> M_______________________________________________
>
> 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
>
--
Cocoa programming in Perl:
http://www.camelbones.org
_______________________________________________
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