From 1835f38271ec4b326a0445673facc48b7c343395 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 13 Oct 2020 01:17:37 -0400 Subject: [PATCH] development/shc: Fix README. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- development/shc/README | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/development/shc/README b/development/shc/README index be04109cc4..560ad6f8c8 100644 --- a/development/shc/README +++ b/development/shc/README @@ -1,15 +1,16 @@ shc - 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. +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 (i.e shebang: #!/bin/sh or such), thus shc does not -create completely independent binaries. +The compiled binary will still be dependent on the shell specified in +the first line of the shell code (i.e shebang: #!/bin/sh or such), 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. +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.