Skip to content

lineset is a cli tool for performing set operations on lines in files.

License

Notifications You must be signed in to change notification settings

joelakuhn/lineset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lineset

lineset is a cli tool for performing set operations on lines in files.

Usage

Usage: lineset file1 operator file2

Operators:
  +  union
  &  intersection
  -  difference
  ^  symmetric difference

Building

$ make

Examples

1.txt:

1
2
3

2.txt:

2
3
4
$ lineset 1.txt '+' 2.txt
1
2
3
4
$ lineset 1.txt '-' 2.txt
1
$ lineset 1.txt '&' 2.txt
2
3
$ lineset 1.txt '^' 2.txt
1
4 

About

lineset is a cli tool for performing set operations on lines in files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published