Paketname | trscripts |
Beschreibung | Scripts for reencoding text files and BDF-fonts |
Archiv/Repository | Offizielles Debian Archiv squeeze (main) |
Version | 1.16 |
Sektion | utils |
Priorität | optional |
Installierte Größe | 1792 Byte |
Hängt ab von | |
Empfohlene Pakete | |
Paketbetreuer | Anton Zinoviev |
Quelle | |
Paketgröße | 568924 Byte |
Prüfsumme MD5 | e38786988982e0d35dd66e89ec0fb1a5 |
Prüfsumme SHA1 | 1e31d20bb938ef9cfcfcf7eada8b134613519c43 |
Prüfsumme SHA256 | b0c70583c088a69c94183babdbf8f44009c5d0b26e63ec997f0ab62f1a41059b |
Link zum Herunterladen | trscripts_1.16_all.deb |
Ausführliche Beschreibung | 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.
|