pySets

pySets finds the intersection, union or difference between the elements (words or lines) in two files.

Usage: pysets [OPTIONS] COMMAND fileA [fileB]
  Options are:
    -f, --casefold ............... fold all elements to lowercase
    -l, --line-oriented .......... split files at line boundaries (default)
    -w, --word-oriented .......... split files at word boundaries
    -n, --count .................. display number of elements only
    -o, --slow ................... use generators to conserve memory
    -q, --quiet .................. no output for subset/superset
  Commands are:
    -b, --subset ................. true if all elements of A are in B
    -p, --superset ............... true if all elements of B are in A
    -i, --intersection ........... elements common to A and B         (A&B)
    -u, --union .................. elements from both A and B         (A|B)
    -d, --difference ............. elements in A but not in B         (A-B)
    -s, --symmetric-difference ... elements in A or B, but not both   (A^B)
  or
    -h, --help ................... this brief help text
    -v, --version ................ print version information
    -c, --copyright .............. show copying policy

A dash ('-') is a valid alias for standard input.
Elements of intersections, unions and differences will appear unordered.

ActivitiesFeed_12