DOKK / manpages / debian 12 / libxml-tmx-perl / tmxgrep.1p.en
TMXGREP(1p) User Contributed Perl Documentation TMXGREP(1p)

tmxgrep - grep translation units in a TMX file

version 0.39

 tmxgrep patt file.tmx
 options:
   -max=300    -- extract up to 300 TU (def=500)
   -max=0      -- all matches
   -all        -- all matches
   -a          -- annotate matches with '=(...)='
   -a=xx       -- annotate matches with '<xx>...</xx>'
   -o=out.tmx  -- define output file (defaut= STDOUT)
   -n          -- print original TU number (eg: <tu n="35">)
   -i          -- ignore case
   -w          -- whole words
   -pdf        -- output is transformed in a PDF file and show
   -html       -- output is transformed in a HTML file and show
   -html=chromium  -- idem and show it with chromium (def:firefox)

Where patt can be:

  RegExp
  l1:RegExp
  l1:RegExp;l2:RegExp

Creates a TMX file with the translation units that macth the provided regular expression.

  • Alberto Simões <ambs@cpan.org>
  • José João Almeida <jj@di.uminho.pt>

This software is copyright (c) 2010-2017 by Projeto Natura <natura@di.uminho.pt>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2022-07-11 perl v5.34.0