Main > Free Download Search >

Free compares software for linux

compares

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 492
Ctcompare 2.2

Ctcompare 2.2


Ctcompares project purpose is to allow you to compare several sets of C code trees on a token basis... more>>
Ctcompares project purpose is to allow you to compare several sets of C code trees on a token basis, rather than on a line by line basis. The programs help to identify similarities between snippets of code in both trees.
Enhancements:
- The comparison method has been completely rewritten.
- A database is now used to hold 16-token "tuples" as keys; the result attached to each key is the list of source files which have that tuple.
- Tuples with multiple files from different source trees indicate potential code similarity.
- These are then fully tested to find actual code similarity.
<<less
Download (0.035MB)
Added: 2007-06-09 License: GPL (GNU General Public License) Price:
867 downloads
Comparators 1.4

Comparators 1.4


Java classes to include in your programs. Includes: HTMLArrayComparator.java compares two arrays of Strings of HTML, ignoring embedded tags. HTMLComparator.java compares two Strings of HTML, ignoring embedded tags. StringComparator.java compares two Strings, case sensitive. StringComparatorIgnoreCase.java compares two Strings, case insensitive. See http://mindprod.com/jgloss/comparators.html for general information on using comparators. more>>

Comparators - Java classes to include in your programs. Includes:

HTMLArrayComparator.java: Compares two arrays of Strings of HTML, ignoring embedded tags.

HTMLComparator.java: Compares two Strings of HTML, ignoring embedded tags.

StringComparator.java: Compares two Strings, case sensitive.

StringComparatorIgnoreCase.java: Compares two Strings, case insensitive.

See http://mindprod.com/jgloss/comparators.html for general information on using

comparators and generics.

Not useful on its own, though you can run the debugging harness with:

java com.mindprod.comparators.Comparators

Why the orange slice logo? Comparing apples and oranges,

though Comparators are primarily for comparing Objects of

the same class.


Enhancements:
Version 1.4

add pad and icon


System Requirements:
<<less
Download (790Kb)
Added: 2007-05-22 License: Free Price: Free
11 downloads
Schema-compare 0.2

Schema-compare 0.2


Schema-compare is a script that will compares two database schema and show the differences side-by-side. more>>
Schema-compare is a script that will compares two database schema and show the differences side-by-side.
Schema-compare can also generate SQL statements that will alter the old database to match the schema of the new database.
The comparisons are correct, but the SQL statements at the bottom are not quite right, they are close to what is necessary, but probably not exactly right.
To install simply ungzip/untar the file wherever you want to put it in your web folder and then edit the include/config.inc.php file with the information needed to connect to the two databases you want to compare. Both databases need to be on the same database server and use the same username and password to connect to them.
Enhancements:
- This is the first release of schema-compare. It compares the database schema just fine, but the sql alter statements it creates could use some work.
<<less
Download (0.41MB)
Added: 2006-03-07 License: BSD License Price:
1329 downloads
List::Compare 0.33

List::Compare 0.33


List::Compare is a Perl module to compare elements of two or more lists. more>>
List::Compare is a Perl module to compare elements of two or more lists.

SYNOPSIS

The bare essentials:

@Llist = qw(abel abel baker camera delta edward fargo golfer);
@Rlist = qw(baker camera delta delta edward fargo golfer hilton);

$lc = List::Compare->new(@Llist, @Rlist);

@intersection = $lc->get_intersection;
@union = $lc->get_union;

General Comments

List::Compare is an object-oriented implementation of very common Perl code (see "History, References and Development" below) used to determine interesting relationships between two or more lists at a time. A List::Compare object is created and automatically computes the values needed to supply List::Compare methods with appropriate results. In the current implementation List::Compare methods will return new lists containing the items found in any designated list alone (unique), any list other than a designated list (complement), the intersection and union of all lists and so forth. List::Compare also has (a) methods to return Boolean values indicating whether one list is a subset of another and whether any two lists are equivalent to each other (b) methods to pretty-print very simple charts displaying the subset and equivalence relationships among lists.

Except for List::Compares get_bag() method, multiple instances of an element in a given list count only once with respect to computing the intersection, union, etc. of the two lists. In particular, List::Compare considers two lists as equivalent if each element of the first list can be found in the second list and vice versa. Equivalence in this usage takes no note of the frequency with which elements occur in either list or their order within the lists. List::Compare asks the question: Did I see this item in this list at all? Only when you use List::Compare::get_bag() to compute a bag holding the two lists do you ask the question: How many times did this item occur in this list?
<<less
Download (0.18MB)
Added: 2007-01-23 License: Perl Artistic License Price:
1007 downloads
Array::Compare 1.14

Array::Compare 1.14


Array::Compare is a Perl extension for comparing arrays. more>>


SYNOPSIS

use Array::Compare;

my $comp1 = Array::Compare->new;
$comp->Sep(|);
$comp->Skip({3 => 1, 4 => 1});
$comp->WhiteSpace(0);
$comp->Case(1);

my $comp2 = Array::Compare->new(Sep => |,
WhiteSpace => 0,
Case => 1,
Skip => {3 => 1, 4 => 1});

my @arr1 = 0 .. 10;
my @arr2 = 0 .. 10;

$comp1->compare(@arr1, @arr2);
$comp2->compare(@arr1, @arr2);

If you have two arrays and you want to know if they are the same or different, then Array::Compare will be useful to you.
All comparisons are carried out via a comparator object. In the simplest usage, you can create and use a comparator object like this:

my @arr1 = 0 .. 10;
my @arr2 = 0 .. 10;

my $comp = Array::Compare->new;

if ($comp->compare(@arr1, @arr2)) {
print "Arrays are the samen";
} else {
print "Arrays are differentn";
}

Notice that you pass references to the two arrays to the comparison method.

Internally the comparator compares the two arrays by using join to turn both arrays into strings and comparing the strings using eq. In the joined strings, the elements of the original arrays are separated with the ^G character. This can cause problems if your array data contains ^G characters as it is possible that two different arrays can be converted to the same string.

To avoid this, it is possible to override the default separator character, either by passing and alternative to the new function

my $comp = Array::Compare->new(Sep => |);

or by changing the seperator for an existing comparator object

$comp->Sep(|);

In general you should choose a separator character that wont appear in your data.

You can also control whether or not whitespace within the elements of the arrays should be considered significant when making the comparison. The default is that all whitespace is significant. The alternative is for all consecutive white space characters to be converted to a single space for the pruposes of the comparison. Again, this can be turned on when creating a comparator object:

my $comp = Array::Compare->new(WhiteSpace => 0);

or by altering an existing object:

$comp->WhiteSpace(0);

You can also control whether or not the case of the data is significant in the comparison. The default is that the case of data is taken into account. This can be changed in the standard ways when creating a new comparator object:

my $comp = Array::Compare->new(Case => 0);

or by altering an existing object:

$comp->Case(0);

In addition to the simple comparison described above (which returns true if the arrays are the same and false if theyre different) there is also a full comparison which returns a list containing the indexes of elements which differ between the two arrays. If the arrays are the same it returns an empty list. In scalar context the full comparison returns the length of this list (i.e. the number of elements that differ). You can access the full comparision in two ways. Firstly, there is a DefFull attribute. If this is true then a full comparison if carried out whenever the compare method is called.

my $comp = Array::Compare->new(DefFull => 1);
$comp->compare(@arr1, @arr2); # Full comparison

$comp->DefFull(0);
$comp->compare(@arr1, @arr2); # Simple comparison

$comp->DefFull(1);
$comp->compare(@arr1, @arr2); # Full comparison again

Secondly, you can access the full comparison method directly

$comp->full_compare(@arr1, @arr2);

For symmetry, there is also a direct method to use to call the simple comparison.

$comp->simple_compare(@arr1, @arr2);

The final complication is the ability to skip elements in the comparison. If you know that two arrays will always differ in a particular element but want to compare the arrays ignoring this element, you can do it with Array::Compare without taking array slices. To do this, a comparator object has an optional attribute called Skip which is a reference to a hash. The keys in this hash are the indexes of the array elements and the values should be any true value for elements that should be skipped.

For example, if you want to compare two arrays, ignoring the values in elements two and four, you can do something like this:

my %skip = (2 => 1, 4 => 1);
my @a = (0, 1, 2, 3, 4, 5);
my @b = (0, 1, X, 3, X, 5);

my $comp = Array::Compare->new(Skip => %skip);

$comp->compare(@a, @b);

This should return true, as we are explicitly ignoring the columns which differ.

Of course, having created a comparator object with no skip hash, it is possible to add one later:

$comp->Skip({1 => 1, 2 => 1});

or:

my %skip = (1 => 1, 2 => 2);
$comp->Skip(%skip);

To reset the comparator so that no longer skips elements, set the skip hash to an empty hash.

$comp->Skip({});

You can also check to see if one array is a permutation of another, i.e. they contain the same elements but in a different order.

if ($comp->perm(@a, @b) {
print "Arrays are permsn";
else {
print "Nope. Arrays are completely differentn";
}

In this case the values of WhiteSpace and Case are still used, but Skip is ignored for, hopefully, obvious reasons.

<<less
Download (0.008MB)
Added: 2007-08-15 License: Perl Artistic License Price:
800 downloads
Struct::Compare 1.0.1

Struct::Compare 1.0.1


Struct::Compare is a recursive diff for perl structures. more>>
Struct::Compare is a recursive diff for perl structures.

SYNOPSIS

use Struct::Compare;
my $is_different = compare($ref1, $ref2);

Compares two values of any type and structure and returns true if they are the same. It does a deep comparison of the structures, so a hash of a hash of a whatever will be compared correctly.

This is especially useful for writing unit tests for your modules!

PUBLIC FUNCTIONS

$bool = compare($var1, $var2)

Recursively compares $var1 to $var2, returning false if either structure is different than the other at any point. If both are undefined, it returns true as well, because that is considered equal.

<<less
Download (0.003MB)
Added: 2007-02-12 License: Perl Artistic License Price:
984 downloads
File::DirCompare 0.3

File::DirCompare 0.3


File::DirCompare is a Perl module to compare two directories using callbacks. more>>
File::DirCompare is a Perl module to compare two directories using callbacks.

SYNOPSIS

use File::DirCompare;

# Simple diff -r --brief replacement
use File::Basename;
File::DirCompare->compare($dir1, $dir2, sub {
my ($a, $b) = @_;
if (! $b) {
printf "Only in %s: %sn", dirname($a), basename($a);
} elsif (! $a) {
printf "Only in %s: %sn", dirname($b), basename($b);
} else {
print "Files $a and $b differn";
}
});

# Version-control like Deleted/Added/Modified listing
my (@listing, @modified); # use closure to collect results
File::DirCompare->compare(old_tree, new_tree), sub {
my ($a, $b) = @_;
if (! $b) {
push @listing, "D $a";
} elsif (! $a) {
push @listing, "A $b";
} else {
if (-f $a && -f $b) {
push @listing, "M $b";
push @modified, $b;
} else {
# One file, one directory - treat as delete + add
push @listing, "D $a";
push @listing, "A $b";
}
}
});

File::DirCompare is a perl module to compare two directories using a callback, invoked for all files that are different between the two directories, and for any files that exist only in one or other directory (unique files).
File::DirCompare has a single public compare() method, with the following signature:

File::DirCompare->compare($dir1, $dir2, $sub, $opts);

The first three arguments are required - $dir1 and $dir2 are paths to the two directories to be compared, and $sub is the subroutine reference called for all unique or different files. $opts is an optional hashref of options - see OPTIONS below.

The provided subroutine is called for all unique files, and for every pair of different files encountered, with the following signature:

$sub->($file1, $file2)

where $file1 and $file2 are the paths to the two files. For unique files i.e. where a file exists in only one directory, the subroutine is called with the other argument undef i.e. for:

$sub->($file1, undef)
$sub->(undef, $file2)

the first indicates $file1 exists only in the first directory given ($dir1), and the second indicates $file2 exists only in the second directory given ($dir2).

<<less
Download (0.008MB)
Added: 2007-07-05 License: Perl Artistic License Price:
841 downloads
Bio::SAGE::Comparison 1.00

Bio::SAGE::Comparison 1.00


Bio::SAGE::Comparison module compares data from serial analysis of gene expression (SAGE) libraries. more>>
Bio::SAGE::Comparison module compares data from serial analysis of gene expression (SAGE) libraries.

SYNOPSIS

use Bio::SAGE::Comparison;
$sage = Bio::SAGE::Comparison->new();

This module provides several tools for comparing data generated from serial analysis of gene expression (SAGE) libraries.

BACKGROUND

Serial analysis of gene expression (SAGE) is a molecular technique for generating a near-global snapshot of a cell population’s transcriptome. Briefly, the technique extracts short sequences at defined positions of transcribed mRNA. These short sequences are then paired to form ditags. The ditags are concatamerized to form long sequences that are then cloned. The cloned DNA is then sequenced. Bioinformatic techniques are then employed to determine the original short tag sequences, and to derive their progenitor mRNA. The number of times a particular tag is observed can be used to quantitate the amount of a particular transcript. The original technique was described by Velculescu et al. (1995) and utilized an ~14bp sequence tag. A modified protocol was introduced by Saha et al. (2002) that produced ~21bp tags.

PURPOSE

This module facilitates the comparison of SAGE libraries. Specifically:

1. Calculations for determining the statistical
significance of expression differences.
2. Dynamically convert longer-tag libraries to
a shorter type for comparison (e.g. comparing
a LongSAGE vs. a regular SAGE library).

Both regular SAGE (14mer tag) and LongSAGE (21mer tag) are supported by this module.

Statistical significance in library comparisons is calculated using the method described by Audic and Claverie (1997). Code was generated by directly porting the authors original C source.

<<less
Download (0.008MB)
Added: 2007-07-14 License: Perl Artistic License Price:
832 downloads
SpamBayes 1.1a3

SpamBayes 1.1a3


SpamBayes is a Bayesian anti-spam classifier written in Python. more>>
SpamBayes is a Bayesian anti-spam classifier written in Python. The major difference between this and other, similar projects is the emphasis on testing newer approaches to scoring messages.

While most anti-spam projects are still working with the original graham algorithm, we found that a number of alternate methods yielded a more useful response.

Thats great, but whats SpamBayes?

SpamBayes will attempt to classify incoming email messages as spam, ham (good, non-spam email) or unsure. This means you can have spam or unsure messages automatically filed away in a different mail folder, where it wont interrupt your email reading. First SpamBayes must be trained by each user to identify spam and ham. Essentially, you show SpamBayes a pile of email that you like (ham) and a pile you dont like (spam). SpamBayes will then analyze the piles for clues as to what makes the spam and ham different. For example; different words, differences in the mailer headers and content style. The system then uses these clues to examine new messages.

For instance, the word "Nigeria" appears often in spam, so you could use a spam filter which identifies anything with that word in it as spam. But what if your business involves writing a guidebook on Nigerian Wildlife Conservation? Clearly a more flexible approach is necessary. Additionally spammers will adapt their content over time and will no longer use the word "Nigeria" (or the words "Lose Weight Fast", or any number of other common lines). Ideally the software will be able to adapt as the spam changes.

So, that is what SpamBayes does. It compares the spam and the ham and calculates probabilities. For instance, for me, the word "weight" almost never occurs in legitimate email, but it occurs all the time in lose weight fast spam. SpamBayes can then look at incoming email, extract the most significant clues and combine the probabilities to produce an overall rating of "spamminess". It flags the messages so that your mailer can handle the different message types. You might set it up so that ham goes straight through untouched, spam goes to a folder that you ignore (or delete without checking) and the unsure messages go to another folder which you can review for errors.

<<less
Download (0.81MB)
Added: 2006-08-25 License: Python License Price:
1156 downloads
HaRe 0.0.1

HaRe 0.0.1


HaRe is a Hebrew handwriting recognition engine. more>>
HaRe is a Hebrew handwriting recognition engine. HaRe project uses an optical algorithm, and is therefore independent of motion.

syntax:

./hare filename.pgm - will attempt to read the hebrew letters from filename.pgm and output them to a UTF-8 textfile called output

./hare - does the same, acts the same as above, but the image file is defaultd to "bug.pgm"

notes:
hare reads .pgm files, but can only handle B/W images, grayscale is ignored (for now)

notes:
only letters supported right now are all letters between bet and shin, not including sofiot

runtest.pl:

syntax:

./runtest.pl - runs hare on all files in the tests directory, copies outputs to image_file_name_without_extension.out, and compares it with the expected output (in a .go file), if comparison fails, outputs a warning to STDOUT.

notes:
you need Perl to run this.
In order to use the test suit it is recommended to copy your binary to the debug directory, where the test suite resides, or simply compile with kdevelop under debug mode
<<less
Download (1.5MB)
Added: 2006-09-04 License: GPL (GNU General Public License) Price:
1146 downloads
Gnome Specimen 0.2

Gnome Specimen 0.2


Gnome Specimen project is a simple tool to view and compare fonts installed on your system. more>>
Gnome Specimen project is a simple tool to view and compare fonts installed on your system.
Main features:
- A list of all fonts available (the left pane)
- A list of font previews (the right pane)
- Configurable preview text and font size
- Configurable foreground and background colors used in the preview pane
- A Dutch translation
<<less
Download (0.20MB)
Added: 2007-06-05 License: GPL (GNU General Public License) Price:
524 downloads
odirect 0.70

odirect 0.70


odirect provides a C library and SWIG code to make it easy to use from your favorite scripting language. more>>
When reading a lot of data from disk or network filesystem, e.g. during a backup, buffer cache pollution can be a substantial performance problem for other processes on the machines involved due to buffer cache pollution. odirect is intended to provide a convenient way of avoiding that on systems that offer an O_DIRECT value for open().
odirect provides a C library and SWIG code to make it easy to use from your favorite scripting language.
This project is in the toddler stage:
tests run:
- Ive tested the C library from a C program. This test only reads via odirect
- Ive tested the swig interface code via a python script that uses the swig interface directly. This test too only reads via odirect
- Ive tested the swig interface code via a python wrapper that gives module much more pythonic functionality. This test reads via both odirect and the usual Python file I/O, and compares
- Ive tested the pythonic interface wrapped with bufsock. This test only reads via odirect, but bufsock adds the ability to read sub-block pieces from a buffered full-length block
Caveats:
- Although the tests are pretty good, Ive used this in only one real application so far - and thats my pyindex program
- Ive only tested with C and Python so far, and frankly, Im pretty happy leaving it there for now at least, since my favorite programming languages at this time are C, bash and Python. If youre interested in other languages, please drop me a note - ideal would be diffs for the Makefile and any supporting files, like odirect.whateverExtension wrappers.
- 0.55 had no write support; only read. The current version, 0.65, has 100% untested write support. Thats right - all that testing is only checking reading.
- No "install" rule in the Makefile yet.
- The various python modules insert "." on their python path from too many places; this should be done in the test programs themselves, not the module(s) lest we create (and leave) a security issue
Enhancements:
- This release adds C++ support, bringing the list of supported languages to C, C++, and Python.
<<less
Download (0.016MB)
Added: 2006-08-26 License: GPL (GNU General Public License) Price:
1154 downloads
XCruiser 0.30

XCruiser 0.30


XCruiser project is a filesystem vizualization utility for X. more>>
XCruiser project is a filesystem vizualization utility for X.
XCruiser (formerly known as XCruise) is a filesystem visualization utility which compares a filesystem to a 3D-formed universe and allows you to "cruise" within it.
It constructs a universe from directory trees, and you can navigate with a mouse.
Enhancements:
- The code was rewritten almost entirely.
New features:
- Xt is supported.
- Easy customization of button bindings / colors / accelaration.
- Keyboard support (but inconvenient).
- A new rendering algorithm. (still incomplete!)
- Monochrome mode is dismissed.
<<less
Download (0.030MB)
Added: 2006-11-07 License: GPL (GNU General Public License) Price:
1085 downloads
Vobcopy 1.0.2

Vobcopy 1.0.2


Vobcopy copies DVD .vob files to harddisk, decrypting them on the way and merges them. more>>
Vobcopy copies DVD .vob files to harddisk, decrypting (if you have libdvdcss installed) them on the way (thanks to libdvdread and libdvdcss) and merges them into file(s) with the name extracted from the DVD.
It checks for enough free space on the destination drive and compares the copied size to the size on DVD (in case something went wrong during the copying). Vobcopy project without any options will copy the first title into files of 2GB size into the current working directory.
There is one drawback though: at the moment vobcopy doesnt deal with multi-angle-dvds. But since these are rather sparse this shouldnt matter much.
Enhancements:
- A segfault in the log file writing routine was fixed.
- Small fixes and experimental "step over the bad part" code were added.
<<less
Download (0.041MB)
Added: 2007-06-24 License: GPL (GNU General Public License) Price:
859 downloads
Template::Tools::ttree 2.19

Template::Tools::ttree 2.19


Template::Tools::ttree module can process entire directory trees of templates. more>>
Template::Tools::ttree module can process entire directory trees of templates.

SYNOPSIS
ttree [options] [files]

The ttree script is used to process entire directory trees containing template files. The resulting output from processing each file is then written to a corresponding file in a destination directory. The script compares the modification times of source and destination files (where they already exist) and processes only those files that have been modified. In other words, it is the equivalent of make for the Template Toolkit.

It supports a number of options which can be used to configure behaviour, define locations and set Template Toolkit options. The script first reads the .ttreerc configuration file in the HOME directory, or an alternative file specified in the TTREERC environment variable. Then, it processes any command line arguments, including any additional configuration files specified via the -f (file) option.

The .ttreerc Configuration File

When you run ttree for the first time it will ask you if you want it to create a .ttreerc file for you. This will be created in your home directory.

$ ttree

Do you want me to create a sample .ttreerc file for you?

(file: /home/abw/.ttreerc) [y/n]: y
/home/abw/.ttreerc created. Please edit accordingly and re-run ttree

The purpose of this file is to set any global configuration options that you want applied every time ttree is run. For example, you can use the ignore and copy option to provide regular expressions that specify which files should be ignored and which should be copied rather than being processed as templates. You may also want to set flags like verbose and recurse according to your preference.

A minimal .ttreerc:

# ignore these files
ignore = b(CVS|RCS)b
ignore = ^#
ignore = ~$

# copy these files
copy = .(gif|png|jpg|pdf)$

# recurse into directories
recurse

# provide info about whats going on
verbose

In most cases, youll want to create a different ttree configuration file for each project youre working on. The cfg option allows you to specify a directory where ttree can find further configuration files.

cfg = /home/abw/.ttree

The -f command line option can be used to specify which configuration file should be used. You can specify a filename using an absolute or relative path:

$ ttree -f /home/abw/web/example/etc/ttree.cfg
$ ttree -f ./etc/ttree.cfg
$ ttree -f ../etc/ttree.cfg

If the configuration file does not begin with / or . or something that looks like a MS-DOS absolute path (e.g. C:etcttree.cfg) then ttree will look for it in the directory specified by the cfg option.

$ ttree -f test1 # /home/abw/.ttree/test1

The cfg option can only be used in the .ttreerc file. All the other options can be used in the .ttreerc or any other ttree configuration file. They can all also be specified as command line options.

Remember that .ttreerc is always processed before any configuration file specified with the -f option. Certain options like lib can be used any number of times and accumulate their values.

For example, consider the following configuration files:
/home/abw/.ttreerc:

cfg = /home/abw/.ttree
lib = /usr/local/tt2/templates

/home/abw/.ttree/myconfig:

lib = /home/abw/web/example/templates/lib

When ttree is invoked as follows:

$ ttree -f myconfig

the lib option will be set to the following directories:

/usr/local/tt2/templates
/home/abw/web/example/templates/lib

Any templates located under /usr/local/tt2/templates will be used in preference to those located under /home/abw/web/example/templates/lib. This may be what you want, but then again, it might not. For this reason, it is good practice to keep the .ttreerc as simple as possible and use different configuration files for each ttree project.

<<less
Download (0.75MB)
Added: 2007-08-06 License: Perl Artistic License Price:
809 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5