TRCHAN(M) UNIX System V
Name
trchan - translate character sets
Syntax
trchan [-ciko] mapfile
Description
trchan performs mapping as a filter, using the same format
of mapfile as mapchan(M) (described in mapchan(F)). 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(M), mapchan(F), mapchan(M)
Notes
trchan currently ignores the control sections of the
mapfile.
Value Added
trchan is an extension of AT&T System V provided by the
Santa Cruz Operation.
(printed 2/15/90) TRCHAN(M)