• 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: FileMerge ineffective comparisons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >FileMerge ineffective comparisons (From: Jeff Birac <email@hidden>)
 >Re: FileMerge ineffective comparisons (From: Chris Espinosa <email@hidden>)
 >Re: FileMerge ineffective comparisons (From: Jeff Birac <email@hidden>)

  • Prev by Date: Re: FileMerge ineffective comparisons
  • Next by Date: Re: FileMerge ineffective comparisons
  • Previous by thread: Re: FileMerge ineffective comparisons
  • Next by thread: Re: FileMerge ineffective comparisons
  • Index(es):
    • Date
    • Thread