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 πŸ‘‘


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