SHCOMP(1)
β¨ SHCOMP(1) β¨
okay bestie, welcome to the User Environment Utilities corner of the manual, where we meet shcomp93 β the little tool that squishes your ksh93 shell script into a shiny binary snack. π
π NAME π
shcomp93 β compile a ksh93 shell script. literally that's the whole vibe. β¨
πΈ SYNOPSIS πΈ
shcomp [ options ] [infile] [outfile]]
(no, the double bracket at the end is not me being chaotic, that's just how it is, iykyk π )
π¦ 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 the output of shcomp --man. giving credit where credit is due, periodt. π«Ά
π DESCRIPTION π
So unless you pass -D, shcomp takes a shell script, infile, and creates a binary format file, outfile, that ksh93 can read and execute with the exact same effect as the original script. it's giving "same energy, different outfit". β¨
Heads up bestie: since aliases are processed as the script is read, alias definitions whose value requires variable expansion will not work correctly. no cap, that's just the deal. π
If -D is specified, all double quoted strings that are preceded by $ get output. These are the messages that need to be translated to locale specific versions for internationalization. π
If outfile is omitted, then the results get written to standard output. And if infile is also omitted, the shell script will be read from standard input. main character energy: it'll just read whatever you feed it. π
β¨ OPTIONS β¨
-D,--dictionaryβ generates 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 constructs. it's the vibe check for your script. π¨-v,--verboseβ displays input from infile onto standard error as it reads it. so chatty, love that for it. π¬--manβ displays this man page on standard error and exits. it's literally reading you this page. iconic. π--helpβ shows a short help message and exits. the tl;dr version. β
π EXIT STATUS π
0β successful completion. slay. β>0β an error occurred. not slay. π
π₯ SEE ALSO π₯
π 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
and that's a wrap, bestie π«Ά this whole page comes to you from KSH93, dated Fri Jun 3 2005 β go compile something cute, no cap. πβ¨π
π¦ where this page comes from
- debian bookworm: ksh93u+m 1.0.4-3 Β· Eclipse_Public_License_1.0
- debian trixie: ksh93u+m 1.0.10-2 Β· Eclipse_Public_License_1.0
- ubuntu jammy: ksh93u+m 1.0.0~beta.2-1 Β· Eclipse_Public_License_1.0
- ubuntu jammy: ksh93u+m 1.0.0~beta.2-1ubuntu0.2 Β· Eclipse_Public_License_1.0
- ubuntu noble: ksh93u+m 1.0.8-1 Β· Eclipse_Public_License_1.0
- ubuntu questing: ksh93u+m 1.0.10-2
- ubuntu resolute: ksh93u+m 1.0.10-2build1 Β· Eclipse_Public_License_1.0
- ubuntu stonking: ksh93u+m 1.0.10-7 Β· EPL-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms