Home
- This program is free software; you can redistribute it and/or modify it #
- under the terms of the GNU General Public License as published by the Free #
- Software Foundation; either version 3 of the License, or (at your option) #
- any later version. #
- #
- This program is distributed in the hope that it will be useful, but with- #
- out any warranty; without even the implied warranty of merchantability or #
- fitness for a particular purpose. See the GNU General Public License for #
- more details. http://gplv3.fsf.org/ #
This program is free software; you can redistribute it and/or modify it #
under the terms of the GNU General Public License as published by the Free #
Software Foundation; either version 3 of the License, or (at your option) #
any later version. #
#
This program is distributed in the hope that it will be useful, but with- #
out any warranty; without even the implied warranty of merchantability or #
fitness for a particular purpose. See the GNU General Public License for #
more details. http://gplv3.fsf.org/ #
#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.

