Does anyone know of a program to compare .txt?

Any other programming language that is not covered in the Web Scripting category.

Does anyone know of a program to compare .txt?

Postby ga12 on Sat Mar 25, 2006 5:32 pm

Well I was wondering if anyone know's of any programs to compare 2 .txt file's then tell's you the diffrences of the text so like if one line is diffrent it will show you that line.
ga12
Contributer
Contributer
 
Posts: 46
Joined: Sat Oct 08, 2005 12:00 pm
Location: U.S.A.

Postby wuffie on Sat Mar 25, 2006 9:40 pm

Im pretty sure you can use any compare tool to do this, even MS compare that comes with windows should do it for you! Very Happy
no, that means I fit around you and you fit in me.

Im pretty sure she was talking about Hug's ^^
-_Minulla on finni perseessä_-
wuffie
Contributer
Contributer
 
Posts: 22
Joined: Tue Mar 14, 2006 11:16 pm

Postby al_tyranny on Sat Mar 25, 2006 10:52 pm

Yup. Try man diff.
mm_freak wrote:Slackware users are dreamers. Sorry to say.
al_tyranny
Phoenix Veteran
Phoenix Veteran
 
Posts: 294
Joined: Tue May 17, 2005 3:18 am
Location: Greater Boston Area

Postby ga12 on Sun Mar 26, 2006 6:14 pm

I'm meant for windows not nix lol and where is the ms compare i didn't see it on my pc.
ga12
Contributer
Contributer
 
Posts: 46
Joined: Sat Oct 08, 2005 12:00 pm
Location: U.S.A.

Postby reikor0x on Tue Mar 28, 2006 9:14 am

Try a md5 tool o pgp.
They create a hash of a file.
If 2 file has the some hash the file are equal.
reikor0x
Newbie
Newbie
 
Posts: 15
Joined: Mon Mar 27, 2006 11:18 am
Location: italy milano

FC

Postby hannahbrian on Tue Mar 28, 2006 8:38 pm

Have you tried the windows "fc" command?
Open up a command prompt, and type:
Code: Select all
help fc

Results:

Code: Select all
Compares two files or sets of files and displays the differences between
them


FC [/A] [/C] [/L] [/LBn] [/N] [/T] [/U] [/W] [/nnnn] [drive1:][path1]filename1
          [drive2:][path2]filename2
FC /B [drive1:][path1]filename1 [drive2:][path2]filename2

   /A     Displays only first and last lines for each set of differences.
   /B     Performs a binary comparison.
   /C     Disregards the case of letters.
   /L     Compares files as ASCII text.
   /LBn   Sets the maximum consecutive mismatches to the specified number of
          lines.
   /N     Displays the line numbers on an ASCII comparison.
   /T     Does not expand tabs to spaces.
   /U     Compare files as UNICODE text files.
   /W     Compresses white space (tabs and spaces) for comparison.
   /nnnn  Specifies the number of consecutive lines that must match after a
          mismatch.


It's not always the prettiest, but it does the job.
Just fc file1 file2
hannahbrian
Newbie
Newbie
 
Posts: 12
Joined: Tue Mar 28, 2006 8:32 pm

Postby reikor0x on Wed Mar 29, 2006 10:01 am

Fc is available here http://www.oneysoft.com/fc.exe
reikor0x
Newbie
Newbie
 
Posts: 15
Joined: Mon Mar 27, 2006 11:18 am
Location: italy milano

FC

Postby hannahbrian on Wed Mar 29, 2006 5:14 pm

Doesn't FC come equipped on all windows machines? You shouldn't have to download it first. Maybe you have to set up its location in your path, but it should be already installed if you have a windows machine.
hannahbrian
Newbie
Newbie
 
Posts: 12
Joined: Tue Mar 28, 2006 8:32 pm


Return to Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron