Re: Project Find - Replace Fails Silently - Watch Movie!
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