Solved

compare two text files

Posted on 2011-03-18
7
557 Views
Last Modified: 2012-05-11
Dears
I'm looking for powerful and free application to compare two text files on mac
for example com the contents of  file1.txt and file2.txt and highlight the differences side be side

you advice please...
thanks  
0
Comment
Question by:nmokhayesh
7 Comments
 
LVL 7

Accepted Solution

by:
Piloute earned 21 total points
ID: 35165985
HI,

There's lots of software that do what you want to. Check this list (look for apple icon) :
http://alternativeto.net/software/winmerge/

Cheers,
P
0
 
LVL 3

Assisted Solution

by:olliefelde
olliefelde earned 21 total points
ID: 35166169
I've found this program to be useful. It's called TextMate and is free to try:

http://download.cnet.com/TextMate/3000-2079_4-53602.html?tag=mncol;1
0
 
LVL 8

Assisted Solution

by:et01267
et01267 earned 21 total points
ID: 35166289
The same items (emacs, xcode, eclipse) I listed in your other question (about code editors) also can do text compare and merging.
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 4

Assisted Solution

by:leewv1
leewv1 earned 21 total points
ID: 35169417
You could use the diff command in terminal.  diff will give you a line by line difference between 2 files. Type man diff on how to use it.  I created a  simple text file with 6 lines and then copied the file to file2 and appended a number to three lines.  Here are the results using the diff -y option

diff -y file1 file2
A                                                A
B                                                |      B1
C                                                C
D                                                |      D2
E                                                E
F                                                |      F3
G                                                G

Each column is a file.  The command places a pipe next to the line where there is a difference.  Try it.
0
 
LVL 3

Assisted Solution

by:rkharko
rkharko earned 20 total points
ID: 35178499
You can use a Google Docs feature to compare text files online from the web
see the instructions here
http://www.labnol.org/internet/tools/google-docs-free-online-file-comparison-software/2414/
0
 
LVL 19

Assisted Solution

by:Thommy
Thommy earned 21 total points
ID: 35186885
For Windows in my opinion there is no better free tool than WinMerge!!!
http://winmerge.org/

Here are some alternative tools for MAC...
http://alternativeto.net/software/winmerge/?platform=mac
0
 

Author Closing Comment

by:nmokhayesh
ID: 36710175
ok
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Steve Jobs once said that Blu-ray is "a bag of hurt". As Macs users well known, things haven’t settled down (at least not from Apple’s perspective). Several years after that comment, Mac OS X still doesn’t support Blu-ray playback, nor has any Mac s…
Set up iPhone and iPad email signatures to always send in high-quality HTML with this step-by step guide.
Users will learn how to set proper sequence settings, scale images, paste attributes, add transitions, fades, and music. Open up Final Cut Pro 7 and Create a new Project: Set the Sequence Settings. a) Click File > Easy Setup > Format > Apple ProRe…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question