3 ms·
> For example, there is an implementation of an HTTP daemon written purely in bash[2]. Once again-- terrible idea, but great execution. It's not pure bash, as
by rascul 5y ago
> For example, there is an implementation of an HTTP daemon written purely in bash[2]. Once again-- terrible idea, but great execution.
It's not pure bash, as it relies on netcat or socat plus some other external programs (ls, tree, cat, date).
There does exist a pure bash httpd though. It relies on a loadable builtin (from the bash tree though not built by default).
https://github.com/dzove855/Bash-web-server https://github.com/dzove855/Bash-web-server