Man page - stag-join(1)
Packages contains this manual
- stag-itext2sxpr(1)
- stag-join(1)
- stag-xml2itext(1)
- stag-itext2xml(1)
- stag-parse(1)
- stag-drawtree(1)
- stag-filter(1)
- stag-view(1)
- stag-findsubtree(1)
- stag-db(1)
- stag-query(1)
- stag-diff(1)
- stag-merge(1)
- stag-handle(1)
- stag-mogrify(1)
- stag-autoschema(1)
- stag-grep(1)
- stag-splitter(1)
- stag-flatten(1)
- stag-itext2simple(1)
apt-get install libdata-stag-perl
Manual
STAG-JOIN
NAMESYNOPSIS
DESCRIPTION
ARGUMENTS
LIMITATIONS
SEE ALSO
NAME
stag-join - joins two stag files together based around common key
SYNOPSIS
stag-join -w xml
country/city_id=capital/capital_id countries.xml
capitals.xml
stag-join -w itext gene/tax_id=species/tax_id genedb.itext
speciesdb.itext
DESCRIPTION
Performs a relational-style INNER JOIN between two stag trees; this effectively merges two files together, based on some kind of ID in the file
ARGUMENTS
-p|parser FORMAT
FORMAT is one of xml, sxpr or itext, or the name of a perl module
xml assumed as default
-w|writer FORMAT
FORMAT is one of xml, sxpr or itext, or the name of a perl module
LIMITATIONS
currently not event based, so may not be memory efficicent. could be easily rewritten to be event based
SEE ALSO
Data::Stag
This script is a wrapper for the method
Data::Stag->ijoin()