Unix/Linux Go Back    

OpenSolaris 2009.06 - man page for shcomp (opensolaris section 1)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

shcomp(1)				  User Commands 				shcomp(1)

       shcomp - compile a ksh93 shell script

       shcomp [-nv] [infile [outfile]]

       shcomp -D [infile [outfile]]

       If  the	-D  option  is	not specified, shcomp takes a shell script, infile, and creates a
       binary format file, outfile, that ksh93 reads and executes with the  same  effect  as  the
       original script.

       Aliases	are processed as the script is read. Alias definitions whose value requires vari-
       able expansion will not work correctly.

       The following options are supported:

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

		       With  this  option,  all  double quoted strings that are preceded by $ are
		       printed, one literal per line. A literal $"foo" prints "foo" in	the  out-
		       put.  These are the messages that need to be translated to locale specific
		       versions for internationalization.

       -n	       Display warning messages for obsolete or non-conforming constructs.

       -v	       Display input from infile onto standard error as it reads it.

       The following operands are supported:

       infile	  Specifies the name of the file that contains the shell script  to  be  used  as

		  If infile is omitted, the shell script is read from standard input.

       outfile	  Specifies the name of the output file.

		  If outfile is omitted, both modes write their results to standard output.

       The following exit values are returned:

       0     Successful completion.

       >0    An error occurred.

       See attributes(5) for descriptions of the following attributes:

       |      ATTRIBUTE TYPE	     |	    ATTRIBUTE VALUE	   |
       |Availability		     |SUNWcsu			   |
       |CSI			     |Enabled			   |
       |Interface Stability	     |See below.		   |

       The command-line interface and the system variables are Committed. The compiled shell code
       format is Private. The output of the -D option is Volatile.

       ksh93(1), attributes(5)

SunOS 5.11				   27 Jan 2009					shcomp(1)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 09:47 AM.