logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

tmxgrep - grep translation units in a TMX file

Authors

       •   Alberto Simões <ambs@cpan.org>

       •   José João Almeida <jj@di.uminho.pt>

Description

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

Name

       tmxgrep - grep translation units in a TMX file

Synopsis

        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

Version

       version 0.39

See Also