trchan(1) UNIX System V trchan(1)
NAME
trchan - translate character sets
SYNOPSIS
trchan [-ciko] mapfile
DESCRIPTION
trchan performs mapping as a filter, using the same format of mapfile as
mapchan [see mapchan(4) for mapfile format]. This allows a file
consisting of one internal character set to be translated to another
internal character set.
trchan reads standard input, maps it, and writes to standard output. A
mapfile must be given on the command line. Errors cause trchan to stop
processing unless -c is specified.
The following options can be used with trchan:
-c causes errors to be echoed on stderr, and processing is continued.
-i specifies that the input section of the mapfile is used when
translating data.
-k specifies that the dead and compose sections of the mapfile are
used when translating data.
-o specifies that the output section of the mapfile is used when
translating data.
The -i, -k and -o options can be specified in any combination; if
none are specified, trchan uses the entire mapfile, as if all three
were specified together.
FILES
/usr/lib/mapchan/*
SEE ALSO
ascii(5), mapchan(4), mapchan(1M)
NOTES
trchan currently ignores the control sections of the mapfile.
10/89 Page 1