shcomp man page on Hurd

Man page or keyword search:  
man Server   6387 pages
apropos Keyword Search (all sections)
Output format
Hurd logo
[printable version]

SHCOMP(1)		  User Environment Utilities		     SHCOMP(1)

NAME
       shcomp - compile a ksh93 shell script

SYNOPSIS
       shcomp [ options ] [infile] [outfile]]

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

DESCRIPTION
       Unless -D is specified, shcomp takes a shell script, infile,  and  cre‐
       ates  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.

OPTIONS
       -D, --dictionary
	      Generate	a  list of strings that need to be placed in a message
	      catalog for internationalization.

       -n, --noexec
	      Displays warning messages for obsolete  or  non-conforming  con‐
	      structs.

       -v, --verbose
	      Displays input from infile onto standard error as it reads it.

       --man  Displays this man page on standard error and exits.

       --help Shows a short help message and exits.

EXIT STATUS
       0      Successful completion.

       >0     An error occurred.

DEBIAN WARNING
       On  a  Debian  GNU/Linux system, more than one package may provide ksh.
       the output of shcomp can only be used by ksh93.	Any other ksh will  be
       unable to run the compiled script.

EXAMPLE
       ( echo '#! /bin/ksh93' ; shcomp myscript ) > myscript.bin &&
       chmod 755 myscript.bin
       ./myscript.bin

SEE ALSO
       ksh(1)

IMPLEMENTATION
       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

KSH93				Fri Jun 3 2005			     SHCOMP(1)
[top]

List of man pages available for Hurd

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net