Skip to content

benjaminheng/setop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

setop

Perform set operations on files.

Install

go install github.com/benjaminheng/setop@latest

Usage

Available commands:

setop intersection <file1> <file2>
setop difference <file1> <file2>

Examples:

$ seq 1 10 > /tmp/a

$ seq 5 15 > /tmp/b

$ setop intersection /tmp/a /tmp/b  # lines in both A and B
5
6
7
8
9
10

$ setop difference /tmp/a /tmp/b  # lines in A but not B
1
2
3
4

About

Perform set operations on files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors