SZU-SS(1)

NAME
szu-ss - table-based string substitution

SYNOPSIS
szu-ss [options] table_file [file ...]

DESCRIPTION
This is a program for making fixed string substitutions using a two-column translation table file. After reading the input text, each source term is translated into its translated into its equivalent translation term. Three types of substitutions are made for each term: with normal capitalization, converted to lowercase, and converted to uppercase. Substitutions will also be made if the source term only matches part of the word, so this tool should be used with caution. If no input file is specified, text is read from the standard input (stdin). Output is written to the standard output (stdout).

For more details on translation table formatting and development, please refer to the tutorial, as well as the manual page for szu-t.

OPTIONS

-h, --help
    print usage information and then exit

-v, --verbose
    include information useful for debugging

EXIT STATUS
The exit status is 0 on normal termination, and 1 on error.

DIAGNOSTICS
Errors will print a message to the standard error stream (stderr). To enable stack traces for debugging, enable the “verbose” option.

EXAMPLES
$ szu-ss mytable < infile > outfile

Read text from infile, make substitutions based on mytable, and write the output text to outfile.

SEE ALSO
szu-ed(1), szu-t(1),

BUGS
Please contact the author if any bugs are found, or file a bug report with the project. Incomplete or inaccurate documentation should be treated as a bug.

AUTHOR
yaoguai <http://lapislazulitexts.com/sanzang>