prettifyxtm.pl - formatter for XTM
cat map.xtm | prettifyxtm.pl > map2.xtm
This filter consumes on STDIN a topic map written in XTM syntax and indents some tags before it writes the same content onto STDOUT.
Type 'help' within this shell to get an overview over available switches.
Following command line switches are understood by the program:
...does hopefully what you would expect.
The program will print out some information about the software itself, (version) and will terminate thereafter.
Please refer to the online documentation
http://www.topicmaps.org/xtm/
Copyright 2002, Robert Barta <rho@telecoma.net>, All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. http://www.perl.com/perl/misc/Artistic.html
To install XTM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XTM
CPAN shell
perl -MCPAN -e shell install XTM
For more information on module installation, please visit the detailed CPAN module installation guide.