Hi all, again!
I just published another article that comes with a cheat sheet.
In this article I implemented various set operations by using awk, comm, sort, uniq, diff, join, head, tail, and other Unix utilities.
The article explains 14 various set operations:
- Set Membership.
- Set Equality.
- Set Cardinality.
- Subset Test.
- Set Union.
- Set Intersection.
- Set Complement.
- Set Symmetric Difference.
- Power Set.
- Set Cartesian Product.
- Disjoint Set Test.
- Empty Set Test.
- Minimum.
- Maximum.
The article can be read here:
Set Operations in Unix Shell
And the cheat sheets can be downloaded here:
* ASCII .txt format:
setops.txt
* PDF format (.pdf):
setops.pdf
What do you think about it?