[PLUG] A Linux Tool To Compare Files of Different Sizes

alan at clueserver.org alan at clueserver.org
Fri Feb 5 23:40:53 UTC 2016


> I think you want to look at the "diff"
>
> http://www.computerhope.com/unix/udiff.htm
>
> which is different than "cmp"
>
> http://www.computerhope.com/unix/ucmp.htm
>
> which is more for hunting for missing bits and bytes than for looking at
> lines.

uniq also might work.

>
>
>
> On Fri, Feb 5, 2016 at 3:20 PM, Rich Shepard <rshepard at appl-ecosys.com>
> wrote:
>
>>    Thought I had found such a tool once but I no longer remember its
>> name.
>> Here's the situation:
>>
>>    Two files: one with 474 lines, the other with 203 lines. I want to
>> test
>> whether all 203 lines of the second file are included in the first file.
>> If
>> not, I want a list of those second file lines not found in the first
>> file.
>>
>>    A cluestick is needed.
>>
>> TIA,
>>
>> Rich
>> _______________________________________________
>> PLUG mailing list
>> PLUG at lists.pdxlinux.org
>> http://lists.pdxlinux.org/mailman/listinfo/plug
>>
>
>
>
> --
> John Sechrest      .  Need to schedule a meeting :
> http://sechrest.youcanbookme.com
>                                    .
>                                         .
>                                                 .
>
>                                                           .
>      sechrest at gmail.com
>                                                                        .
>                            @sechrest  <http://www.twitter.com/sechrest>
>
>          .
>         http://www.oomaat.com
>                .
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>





More information about the PLUG mailing list