---
name: "tmxclean"
section: "1p"
platform: "linux"
package: "libxml-tmx-perl"
version: "0.39-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/tmxclean"
---

# tmxclean(1p)

Simple tool to clean TMX files

## NAME

tmxclean - Simple tool to clean TMX files

## VERSION

version 0.39

## SYNOPSIS

```
  $ tmx-clean file.tmx
    -junk     remove if one of the languages just have junk (def: True)
    -eq       remove if seg(l1) = seg(l2)
    -len      remove if len(li) > 50 ∧ len(lj) > 2len(li)
    -output=out.tmx
    -v, -verbose
    -all             same as -junk -eq -len
```

## DESCRIPTION

Removes the translation units (TU) that

```
 1. have no letters...  (unless -junk=0)
 2. seg(L1) = seg(L2)   (if -eq)
```

## SEE ALSO

XML::TMX

## AUTHORS

- •

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

- •

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

## COPYRIGHT AND LICENSE

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.
