EnglishFrenchSpanish

Ad


OnWorks favicon

trcs - Online in the Cloud

Run trcs in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command trcs that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


trcs - convert text files from one codeset to other

SYNOPSIS


trcs -C | -l | -h

trcs [-s] [-f input-codeset ] [-t output-codeset ] [ file ]...

DESCRIPTION


trcs is a program for translation of text files from one codeset to other. When exact
translation is impossible it tries to make approximations. For example pseudographic
characters are approximated by ASCII characters in codesets that have no pseudographic
characters and characters with diacritical marks are approximated by existing characters.

If the option -s or --gen-script is given trcs will generate simple script that invokes
tr(1) This is useful if you want to include this in your script or for faster conversion
of many files.

If none of -C, -s, -l, -h and their equivalents is given each file will be read assuming
it is coded with codeset input-codeset On standard output it will be recoded so to use
codeset output-codeset If there is no file given trcs will act as filter. Both input-
codeset and output-codeset are case insensitive and default to `cp1251'.

OPTIONS


-C, --copyright
Display copying conditions and warranty information.

-s, --gen-script
Generates conversion script for given input and output encodings instead to convert
text files.

-l, --list
List all known codesets with their aliases.

-h, --help
Display this help and exit.

-f input-codeset, --from[=]input-codeset
Codeset of the source.

-f output-codeset, --to[=]output-codeset
Codeset of the output.

EXAMPLES


trcs -fcyrillic -t koi8-r letter.txt
Convert letter.txt from ISO-8859-5 (cyrillic) to KOI8-R and output the result on
standard output.

trcs --from cp437 --to=mik --gen-script >ibm2mik
Generates script ibm2mik for converting from CP437 to MIK.

sh ibm2mik screen.txt
Convert screen.txt from CP437 to MIK. Output the result on standard output.
Without parameters ibm2mik acts as filter.

Use trcs online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Firebird
    Firebird
    Firebird RDBMS offers ANSI SQL features
    & runs on Linux, Windows &
    several Unix platforms. Features
    excellent concurrency & performance
    & power...
    Download Firebird
  • 2
    KompoZer
    KompoZer
    KompoZer is a wysiwyg HTML editor using
    the Mozilla Composer codebase. As
    Nvu's development has been stopped
    in 2005, KompoZer fixes many bugs and
    adds a f...
    Download KompoZer
  • 3
    Free Manga Downloader
    Free Manga Downloader
    The Free Manga Downloader (FMD) is an
    open source application written in
    Object-Pascal for managing and
    downloading manga from various websites.
    This is a mirr...
    Download Free Manga Downloader
  • 4
    UNetbootin
    UNetbootin
    UNetbootin allows you to create bootable
    Live USB drives for Ubuntu, Fedora, and
    other Linux distributions without
    burning a CD. It runs on Windows, Linux,
    and ...
    Download UNetbootin
  • 5
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM is an easy to use
    ERP and CRM open source software package
    (run with a web php server or as
    standalone software) for businesses,
    foundations...
    Download Dolibarr ERP - CRM
  • 6
    SQuirreL SQL Client
    SQuirreL SQL Client
    SQuirreL SQL Client is a graphical SQL
    client written in Java that will allow
    you to view the structure of a JDBC
    compliant database, browse the data in
    tables...
    Download SQuirreL SQL Client
  • More »

Linux commands

Ad