On Wed, 6 Jun 2001, Brujah wrote:

> Is there a linux alternative to this DOS program ?

Exactly no, there are two - comm does this kind of file1-file2-both, but
using sorted files (easy enuf with a shell script), while diff does a real
text comparison, and can be split into the 3 files, -i makes it case
insensitive - diff has many output modes, don't know of a specific one
with that numbering form.

> File Intersection takes a slightly different approach to the task of file
> comparing. FINTRSCT compares two (smaller) files and outputs three files:
> one file listing lines unique to file 1; a second file containing lines
> unique to file 2; and a third file containing paired shared lines. Lines are
> numbered to allow easy location in original files. The order of lines in the
> input files is not relevant, and comparisons are case insensitive.

> Useful
> for comparing different versions win.ini, autoexec.bat, etc..also useful for
> comparing updated file lists

This is the usual DOS vs UNIX difference - unix utilities are tiny
building blocks, use diff for the first need, and sort/comm for the 2nd.

As always, use 'man COMMAND' for more details.

Rich Roth
Domain Registrar @ On-the-Net.com

Reply via email to