Created at www.catonmat.net -- This document implements 14 set operations by using common Unix utilities such as sort, uniq, diff, comm, cat, head, tail, awk , and others. It implements the following 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. -- More tips, tricks cheat sheets and tutorials at www.catonmat.net