PC Review


Reply
Thread Tools Rate Thread

Common words in text files

 
 
Vic Dura
Guest
Posts: n/a
 
      18th Apr 2005
Does anyone know of a program that will list or show the words that
two text files have in common? I'm looking for commonality, not
differences.

Thanks.

--
See the A.C.F alternative FAQ at http://stalkingsheep.co.uk/antifaq.htm
In an unmoderated NG you can control what you read and what you write.
That's all you can control.
 
Reply With Quote
 
 
 
 
Little Girl
Guest
Posts: n/a
 
      18th Apr 2005
Hey there,

On Mon, 18 Apr 2005 07:08:18 -0500, it was written by Vic Dura
<(E-Mail Removed)>:

>Does anyone know of a program that will list or show the words that
>two text files have in common? I'm looking for commonality, not
>differences.
>
>Thanks.


You should be able to use SideBySide
<http://www.galaxywebsitedesign.com/sideby/index.html> or ExamDiff
<http://www.prestosoft.com/ps.asp?page=edp_examdiff>, or any text
comparing utility, and instead of using the highlighted differences as
your results, just use the unhighlighted ones, since those are
identical.

WARNING: It looks like this might no longer be true freeware, since
there's mention of trial mode on the comparison page of the different
versions, but if it's still recommended in here, or if there's a
genuine freeware version, you might want to check this out:

If you'd rather have a list, NoteTab Light
<http://www.notetab.com/ntl.php> might be able to do what my paid
version of NoteTab does. In the Tools menu I have a Text Statistics
entry that lists all words in any text file that I have open and tells
me (among other things) how frequently they occur in the file. The
results can be copied and pasted elsewhere. You might either want to
try the free version or find out from someone who has it whether that
function is available. Sorry I can't help on this part.

--
Little Girl
Take out the trash to reply by email.

There is no spoon.
 
Reply With Quote
 
Mel
Guest
Posts: n/a
 
      18th Apr 2005
>On Mon, 18 Apr 2005 07:08:18 -0500, Vic Dura <(E-Mail Removed)> wrote:

>Does anyone know of a program that will list or show the words that
>two text files have in common? I'm looking for commonality, not
>differences.
>

To compare files and display the results graphically, use Windiff.exe.

The following line shows Windiff command-line syntax:

windiff [path1] [path2]

where path1 and path2 indicate the files to be compared. Windiff uses
the following rules to determine what is to be compared:
- If you invoke Windiff without specifying path1 or path2, you can click
Compare Files or Compare Directories from the File menu to specify the
files to compare.
- If you invoke WINDIFF with a filename for path1, but nothing for
path2, Windiff compares the file with a file of the same name in the
current directory.
- If you invoke Windiff with a directory name for path1, but nothing for
path2, Windiff compares the files in the specified directory with the
files in the current directory.
- If you invoke Windiff specifying files for path1 and path2, Windiff
compares the two files.
- If you invoke Windiff specifying directories for path1 and path2,
Windiff compares the files in those directories.

The results are initially displayed in outline mode. Windiff lists the
files that were compared and indicates whether they are identical or
whether one file is newer than the other. To view the differences in
expanded mode, select the file from the display and click the Expand
button. The parts that are common to both files are displayed on a white
background. The parts that belong to the file listed on the left are
displayed on a red background. The parts that belong to the file listed
on the right are displayed on a yellow background. To return to outline
mode, click the Outline button.

For more information, see the help file Windiff.hlp, which is included
with Windiff.

http://www.grigsoft.com/download-windiff.htm

Use view=expanded options=show identical lines
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I find auto text to complete my common words and phrases Horatio Hornblower Microsoft Word Document Management 1 23rd Jul 2008 09:30 PM
Using SUMIF on common words =?Utf-8?B?RG9kZ2U=?= Microsoft Excel Misc 5 18th May 2005 08:51 PM
Counting common words? =?Utf-8?B?R2Vvcmdl?= Microsoft Word Document Management 1 25th Apr 2005 04:23 PM
Scanning Text files for specific words Tony Microsoft Excel Programming 4 24th Sep 2004 10:20 PM
help! comparing text for common words cloudy682 Microsoft Excel Discussion 2 18th Nov 2003 02:58 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:47 PM.