Forking this off into a new topic since it's not related to my original 
question.

In the email quoted below from Rich, I see that he is quoting someone by the 
name of "Reid". I don't see any emails from this user but a quick search of my 
inbox suggests that he *might* be using a protonmail account. I assume this 
means he replied to my question but I seem to be getting everyone but him.

Can anyone confirm if this is the case? I've encounted some strange problems 
since moving to this service for PLUG and this adds another datapoint. 

Thanks,
-Ben


------- Original Message -------
On Tuesday, December 27th, 2022 at 2:10 PM, Rich Shepard 
<[email protected]> wrote:


> On Tue, 27 Dec 2022, Reid wrote:
> 
> > You could try something like `diff --changed-group-format='%<' 
> > --unchanged-group-format=''`, or one of its variants. That example assumes
> > that the first file is the one you want lines from. Check the diff man
> > page under "--GTYPE-group-format=GFMT".
> 
> 
> diff -y shows differences, but both files being compared. On the other hand
> (besides four fingers and a thum) there's comm:
> 
> man comm:
> NAME
> comm - compare two sorted files line by line
> 
> SYNOPSIS
> comm [OPTION]... FILE1 FILE2
> 
> DESCRIPTION
> Compare sorted files FILE1 and FILE2 line by line.
> 
> When FILE1 or FILE2 (not both) is -, read standard input.
> 
> With no options, produce three-column output. Column one contains lines 
> unique to
> FILE1, column two contains lines unique to FILE2, and column three contains 
> lines
> common to both files.
> 
> -1 suppress column 1 (lines unique to FILE1)
> 
> -2 suppress column 2 (lines unique to FILE2)
> 
> -3 suppress column 3 (lines that appear in both files)
> 
> --check-order
> 
> It's really handy and will do what Ben wants.
> 
> Rich

Reply via email to