shc

A generic shell script compiler

bacaro: haikuports also on HaikuPorts
Also on HaikuPorts. shc

Description

Shc takes a script, which is specified on the command line and produces C source code. The generated source code is then compiled and linked to produce a stripped binary executable. The compiled binary will still be dependent on the shell specified in the first line of the shell code (i.e shebang) (i.e. #!/bin/sh), thus shc does not create completely independent binaries.

Install

Channel stable v3.9.6-1

This app is curated in HaikuPorts. Install it from there, it is already available in HaikuDepot.

pkgman install shc

Download version 3.9.6-1 (x86_64) hpkg

Careful: the file comes from HaikuPorts' own server, but installing it by hand is not the way in. It is pkgman that resolves the dependencies an .hpkg does not carry with it, and a package installed on its own may simply not run. Use the pkgman command above, unless you know exactly why you want the file.

Reviews