realksh.c

Execute C program as script

Install

All systems
curl cmd.cat/realksh.c.sh
Debian Debian
apt-get install binfmtc
Ubuntu
apt-get install binfmtc
image/svg+xml Kali Linux
apt-get install binfmtc
Windows (WSL2)
sudo apt-get update sudo apt-get install binfmtc
Raspbian
apt-get install binfmtc

binfmtc

Execute C program as script

Linux binfmt_misc handler for C, C++, Assembly languages, Pascal, Fortran, Java(GCJ). Using the binfmt_misc interface, binfmtc allows users to seamlessly execute C source code as if they were scripts. Includes example utilities realcsh.c, realksh.c, which are for your real C scripting pleasures.