2 #### by [Jason A. Donenfeld](mailto:Jason@zx2c4.com)
4 `cscript` executes C code from stdin using any variety of compiler arguments. It can be used from the command line:
7 $ echo 'main(){puts("hello world");}' | cscript
10 Or it can be used at the top of scripts:
14 main(){puts("hello world");}
17 One might even register .c as an executable file type:
20 # echo ':cfile:E::c::/usr/bin/cscript:' > /proc/sys/fs/binfmt_misc/register
21 $ echo 'main(){puts("hello world");}' > a.c
26 It respects the `CC` environment variable, and does not create any temporary dentries that need to be cleaned up ever.
32 $ sudo make install PREFIX=/usr
37 This project is released under the [GPLv2](COPYING).