Re: FileMerge ineffective comparisons
Re: FileMerge ineffective comparisons
- Subject: Re: FileMerge ineffective comparisons
- From: Markus Hitter <email@hidden>
- Date: Sun, 9 Jul 2006 23:20:36 +0200
Am 09.07.2006 um 22:35 schrieb Jeff Birac:
So how should I approach this to acquire effective file comparisons?
Possible shell script for C source files:
find /path/to/my/sources -type file -name \*.c | while read F; do
cp -p "$F" "$F".tmp
tr '\r' '\n' <"$F".tmp >"$F"
rm "$F".tmp
done
... written in Mail, so please have a copy for desaster recovery
available ...
Additionally, you might want to check Xcode's preferences. There's an
option to check/switch line endings when opening files, IIRC. This
might or might not be already sufficient.
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
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