Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/polettix/app-sets
set operations in Perl
https://github.com/polettix/app-sets
Last synced: 27 days ago
JSON representation
set operations in Perl
- Host: GitHub
- URL: https://github.com/polettix/app-sets
- Owner: polettix
- Created: 2012-03-20T00:53:57.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2020-10-21T08:56:42.000Z (about 4 years ago)
- Last Synced: 2024-10-27T12:33:09.365Z (3 months ago)
- Language: Perl
- Homepage:
- Size: 84 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
Awesome Lists containing this project
README
NAME
====App::Sets - set operations in Perl
SYNOPSIS
========# intersect two files
sets file1 ^ file2# things are speedier when files are sorted
sets -s sorted-file1 ^ sorted-file2# you can use a bit caching in case, generating sorted files
# automatically for possible multiple or later reuse. For example,
# the following is the symmetric difference where the sorting of
# the input files will be performed two times only
sets -S .sorted '(file1 - file2) + (file2 - file1)'# In the example above, note that expressions with grouping need to be
# specified in a single string.# sometimes leading and trailing whitespaces only lead to trouble, so
# you can trim data on-the-fly
sets -t file1-unix - file2-dosALL THE REST
============Want to contribute? [Fork it on GitHub](https://github.com/polettix/App-sets).
[App::Sets is on CPAN](https://metacpan.org/release/App-Sets) as well.
Want just the script, ready to go with batteries included? [Download it
from GitHub](https://raw.github.com/polettix/App-sets/master/sets).That's all folks!