Skip to content
Sections
>> Trisquel >> Packages >> nabia >> devel >> shc
etiona  ] [  nabia  ] [  aramo  ]
[ Source: shc  ]

Package: shc (4.0.3-0.1)

Shell script compiler

SHC is a generic shell script compiler. It 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.

The compiled binary will still be dependent on the shell specified in the first line of the shell code, thus shc does not create completely independent binaries.

shc itself is not a compiler such as cc, it rather encodes and encrypts a shell script and generates C source code with the added expiration capability. It then uses the system compiler to compile a stripped binary which behaves exactly like the original script. Upon execution, the compiled binary will decrypt and execute the code with the shells' -c option.

Other Packages Related to shc

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.14) [amd64]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
    dep: libc6 (>= 2.7) [armhf]

Download shc

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 21.7 kB82 kB [list of files]
armhf 19.6 kB57 kB [list of files]