How to Install and Uninstall trscripts Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 18,2024

1. Install "trscripts" package

In this section, we are going to explain the necessary steps to install trscripts on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install trscripts

2. Uninstall "trscripts" package

In this section, we are going to explain the necessary steps to uninstall trscripts on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove trscripts $ sudo apt autoclean && sudo apt autoremove

3. Information about the trscripts package on Ubuntu 21.10 (Impish Indri)

Package: trscripts
Architecture: all
Version: 1.18+nmu2
Priority: optional
Section: universe/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Anton Zinoviev
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1712
Filename: pool/universe/t/trscripts/trscripts_1.18+nmu2_all.deb
Size: 80368
MD5sum: da8214eb3d4f8d2aa6dc21cf93056965
SHA1: ce641bd119394e34969bf952a7c234d3f19731c7
SHA256: 5010a376c323faaa2605f20e0eeb12566c0b3023759cca40542b3da50381dee8
SHA512: baa97d41e81dd7e7de6459685baba7e71b2949d8b64fcbf980e4398e016c63251f48d904f3692136b5f2d8fe509dce25c92549a466098b64b23c1c61eee088d7
Description-en: Scripts for reencoding text files and BDF-fonts
The script `trbdf' can convert a BDF font from one codeset
to another.
.
The script `trcs' reencodes text files from one codeset to another.
It can generate scripts for `tr'. For example the command
trcs --from cp1252 --to latin1 --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' \
'\105''\77''\47''\146''\42''\267''\53''\77''\136''\77''\123'\
'\253''\117''\77''\132''\77''\77''\47''\47''\42''\42''\267'\
'\-''\-''\176''\77''\163''\273''\157''\77''\172''\131'
.
Both scripts try to approximate the missing from the target codeset
symbols.
.
It is easy to add support of other character sets.
Description-md5: 66eea646d1b45297f7604439a7baf556