• 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: Project Find - Replace Fails Silently - Watch Movie!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Project Find - Replace Fails Silently - Watch Movie!


  • Subject: Re: Project Find - Replace Fails Silently - Watch Movie!
  • From: Neil <email@hidden>
  • Date: Thu, 23 Oct 2008 00:25:31 -0400

On 22 Oct 2008, at 08:30, Jerry Krinock wrote:
On 2008 Oct, 20, at 17:34, Dan Korn wrote:

But, months ago I did go into my Xcode prefs and set Text Editing > Line Endings
For new files: Unix (LF)
For existing files: Unix (LF)


Does the latter setting not mean that whenever Xcode overwrites any file, it will change all line endings to unix?? I expect that this should have cleaned out any non-Unix line endings by now but I still have this problem. With hundreds of files, I don't want to manually change each of them using the Info window. My Groups have "no explicit line endings", and I suppose I could try and change them there, but those settings default to my Xcode preferences if they are not set. Setting things in children individually instead of defaulting to a parent setting will cause more confusion later.

Does anyone know, would it solve this problem to do a multi-file search/replace on my whole "Projects" folder in BBEdit and change all line endings? I'd have to be careful and do some controlled tests first.

You might look into the old unix util "dos2unix"; it, run repeatedly through a shell script, might do the trick for you.


-N.
_______________________________________________
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


  • Follow-Ups:
    • Re: Project Find - Replace Fails Silently - Watch Movie!
      • From: Jerry Krinock <email@hidden>
References: 
 >Project Find - Replace Fails Silently - Watch Movie! (From: Jerry Krinock <email@hidden>)
 >Re: Project Find - Replace Fails Silently - Watch Movie! (From: Dan Korn <email@hidden>)
 >Re: Project Find - Replace Fails Silently - Watch Movie! (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: reference to undefined typeinfo
  • Next by Date: Console littered by Xcode 3.1.1 garbage collection messages
  • Previous by thread: Re: Project Find - Replace Fails Silently - Watch Movie!
  • Next by thread: Re: Project Find - Replace Fails Silently - Watch Movie!
  • Index(es):
    • Date
    • Thread