Hacker News new | ask | show | jobs
by david-given 3823 days ago
This is traditionally what inetd does --- it received incoming connections via sockets and the proxies them to stdin/stdout.

Here's a basic HTTP server in shell:

https://gist.github.com/robspassky/1959319

Of course, it's not as cool as doing the actual low level socket stuff in shell...