pySets
pySets finds the intersection, union or difference between the elements (words or lines) in two files. more…
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
-a, --sort ................... sort output alphabetically
-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
-0, --disjoint ............... true if A and B have a null intersection
-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.
mainline
-
Cloning this repository:
git clone git://gitorious.org/pysets/mainline.git mainline cd mainline
Add this repository as a remote to an existing local repository:
git remote add mainline git://gitorious.org/pysets/mainline.git git fetch mainline git checkout -b my-local-tracking-branch mainline/master_or_other_branch
Activities 
-
Sunday January 09 2011
-
Push
16:05
Klaus Alexander Seistrup pushed 730f83e4 to pysets/mainline:master
Klaus Alexander Seistrup on January 09, 2011 16:05 -
Project
16:03
Klaus Alexander Seistrup updated project pySets
-
Push
15:48
-
Project
15:42
Klaus Alexander Seistrup updated project pySets
-

