NAME

tlkencode - Encodes text version of tlk back to binary tlk


SYNOPSIS

tlkencode [--help|-h] [--version|-V] [--verbose|-v] [--config config-file] [--separator|-s separator] --output|-o output_filename filename ...

tlkencode --help


DESCRIPTION

tlkencode takes the output of tlkprint(1) and converts it back to the binary tlk. The tlkprint(1) output must be generated with -S option so that it has all control characters encoded as %xx.


OPTIONS

--help -h
Prints out the usage information.

--version -V
Prints out the version information.

--verbose -v
Enables the verbose prints. This option can be given multiple times, and each time it enables more verbose prints.

--config config-file
All options given by the command line can also be given in the configuration file. This option is used to read another configuration file in addition to the default configuration file.

--output -o output_file
Resulting binary tlk is written to this file.

--separator -s separator
Assume that the input file is using given string as a separator between the label and value instead of default :\t.


EXAMPLES

    tlkprint -S dialog.tlk > file; emacs file; tlkencode -o dialog2.tlk file
    tlkprint -S dialog.tlk | sed 's/God/Deity/g' | tlkencode -o dialog2.tlk


FILES

~/.tlkencoderc
Default configuration file.


SEE ALSO

tlkprint(1), Tlk(3), and TlkWrite(3).


AUTHOR

Tero Kivinen <kivinen@iki.fi>.


HISTORY

This program appeared as a pair to the tlkprint(1) after we needed to create our own custom tlk files.