/usr/bin/tmx2html is in libxml-tmx-perl 0.31-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | #!/usr/bin/perl -w -s
use strict;
use warnings;
use XML::TMX;
use XML::TMX::Reader;
our ($icons);
my $tmx = shift;
my $tmx_obj = XML::TMX::Reader->new($tmx);
print $tmx_obj->to_html(icons => $icons);
=encoding UTF-8
=head1 NAME
tmx2html - Converts a TMX to an HTML formated page
=head1 SYNOPSIS
tmx2html [-icons] file.tmx > file.html
=head1 DESCRIPTION
Pretty prints a TMX as an HTML file. Icons for languages can be
produced, but still buggy.
=head1 SEE ALSO
perl(1)
=head1 AUTHOR
Alberto Manuel Brandão Simões, E<lt>ambs@cpan.orgE<gt>
=head1 COPYRIGHT AND LICENSE
Copyright (C) 2011 by Alberto Manuel Brandão Simões
=cut
|