ITP: trscripts
Hi!
trscripts is a package with two scripts -- `trbdf' and `trcs'.
The script `trbdf' can reencode a BDF-font from one encoding to
another. The packages `xfonts-bolkhov' and `xfonts-cronyx' (I made
ITP a few minutes ago) build-depend on this script because the
packages for different encodings share one common source package.
The script `trcs' can generate a `tr'-scripts for reencoding simple
text. For example the command
trcs --from cp1252 --to iso-8859-1 --gen-script
gives you the following output:
#!/bin/sh
trap "exit 0" PIPE
cat "$@" | tr \
'\200''\201''\202''\203''\204''\205''\206''\207''\210''\211''\212'\
'\213''\214''\215''\216''\217''\220''\221''\222''\223''\224''\225'\
'\226''\227''\230''\231''\232''\233''\234''\235''\236''\237' \
'\77''\77''\47''\146''\42''\77''\77''\77''\77''\77''\123'\
'\253''\77''\77''\132''\77''\77''\47''\47''\42''\42''\267'\
'\-''\-''\77''\77''\163''\273''\77''\77''\172''\131'
Both scripts try to approximate the missing in the target encoding
symbols. It is easy to add new encoding to this scripts. Because of
the its nature, `trcs' is limited to 8-bit encodings. `trbdf' doesn't
have this limitation.
License: GPL.
Anton Zinoviev <zinoviev@debian.org>
Reply to: