[ale] diff being boneheaded

Brian Mathis brian.mathis+ale at betteradmin.com
Wed Aug 7 14:49:22 EDT 2013


Maybe you want the 'comm' command instead of diff?




❧ Brian Mathis


On Wed, Aug 7, 2013 at 12:37 PM, Jim Kinney <jim.kinney at gmail.com> wrote:

> I've got 2 text files  > 6M lines each. Each file is sorted in dictionary
> order. diff is flagging identical lines between them as different but not
> all lines.
>
> I look at the output and can see no reason why they are flagged except for
> maybe one line is too far away from the same line in the other file.
>
> There is some crap from a mac backup list that was in a different codepage
> but I think I've fixed that.
>
> Ideas on how to tell diff to ignore the line count between lines?
> Basically all I want is a fast "these lines are not in the other file" for
> both files.
>
> --
> --
> James P. Kinney III
> *
> *Every time you stop a school, you will have to build a jail. What you
> gain at one end you lose at the other. It's like feeding a dog on his own
> tail. It won't fatten the dog.
> - Speech 11/23/1900 Mark Twain
> *
> http://heretothereideas.blogspot.com/
> *
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20130807/95a3ec6b/attachment-0001.html>


More information about the Ale mailing list