DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

trchan(1)


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/*

References

ascii(5), mapchan(4), mapchan(1M)

Notices

trchan currently ignores the control sections of the mapfile.


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004