DOKK / manpages / debian 10 / ksh / shcomp.1.en
SHCOMP(1) User Environment Utilities SHCOMP(1)

shcomp - compile a ksh93 shell script

shcomp [ options ] [infile] [outfile]]

This man page was written by Christophe Martin <Schplurtz@free.fr> for the Debian GNU/Linux system. It is based on "shcomp --man" output.

Unless -D is specified, shcomp takes a shell script, infile, and creates a binary format file, outfile, that ksh93 can read and execute with the same effect as the original script.

Since aliases are processed as the script is read, alias definitions whose value requires variable expansion will not work correctly.

If -D is specified, all double quoted strings that are preceded by $ are output. These are the messages that need to be translated to locale specific versions for internationalization.

If outfile is omitted, then the results will be written to standard output. If infile is also omitted, the shell script will be read from standard input.

Generate a list of strings that need to be placed in a message catalog for internationalization.
Displays warning messages for obsolete or non-conforming constructs.
Displays input from infile onto standard error as it reads it.
Displays this man page on standard error and exits.
Shows a short help message and exits.

0
Successful completion.
>0
An error occurred.

ksh(1)

version         shcomp (AT&T Labs Research) 2012-02-29
author          David Korn <dgk@research.att.com>
copyright       Copyright (c) 1982-2012 AT&T Intellectual Property
license         http://www.eclipse.org/org/documents/epl-v10.html
Fri Jun 3 2005 KSH93