2018-06-13 17:12:54 +01:00
|
|
|
# shc
|
|
|
|
|
|
|
|
> Generic shell script compiler.
|
2021-11-04 04:59:14 +00:00
|
|
|
> More information: <https://manned.org/shc>.
|
2018-06-13 17:12:54 +01:00
|
|
|
|
|
|
|
- Compile a shell script:
|
|
|
|
|
|
|
|
`shc -f {{script}}`
|
|
|
|
|
|
|
|
- Compile a shell script and specify an output binary file:
|
|
|
|
|
|
|
|
`shc -f {{script}} -o {{binary}}`
|
|
|
|
|
|
|
|
- Compile a shell script and set an expiration date for the executable:
|
|
|
|
|
|
|
|
`shc -f {{script}} -e {{dd/mm/yyyy}}`
|
|
|
|
|
|
|
|
- Compile a shell script and set a message to display upon expiration:
|
|
|
|
|
2020-10-04 18:33:38 +01:00
|
|
|
`shc -f {{script}} -e {{dd/mm/yyyy}} -m "{{Please contact your provider}}"`
|