Re:Shinatra – A simple bash web server
by arthur2e5 on Wednesday November 23, 2016 @07:21PM
(#13026921)
> but that opens a whole can of worms
Someone has actually went that far: http://ctypes.sh/.
Someone has actually went that far: http://ctypes.sh/.
1. hardly a web server
2. hardly pure bash
of course writing a server of anything in pure bash is a tad bit difficult, as opposed to a client - bash can connect(), but can't bind() / listen() nor accept() unless, of course, you use something to expose these syscalls, but that opens a whole another can of worms...