News for hackers. Stuff that matters.
Re:Sherver: Bash lightweight web server by prussian on Wednesday December 22, 2021 @07:26AM (#29648326)
Someone beat me to it. When I think of pure bash, I don't really think of invoking anything that isn't a builtin or a grammatical feature of bash. If socat is fair-play, almost anything you can spawn on a shell should count then.

edit: on top of that, I already found a perl script utility in the repo: https://github.com/remileduc/sherver/blob/master/scripts/uti...

Re:Sherver: Bash lightweight web server by bluetomcat on Wednesday December 22, 2021 @07:38AM (#29648435)
Jokingly, "sudo service apache2 start" may also be considered pure Bash :-)
Re:Sherver: Bash lightweight web server by fragbait65 on Wednesday December 22, 2021 @07:41AM (#29648478)
Exactly!
Re:Sherver: Bash lightweight web server by fragbait65 on Wednesday December 22, 2021 @07:35AM (#29648404)
I think I'll just write something similar and wrap Apache with a shell scrip, claim that it's a web server written in bash, post it here and see what reaction I get, just for shits and giggles.
Re:Sherver: Bash lightweight web server by prussian on Wednesday December 22, 2021 @07:41AM (#29648473)
Here: https://github.com/remileduc/sherver/issues/1 that way you can have HTTP/1.1 support even with arbitrary output lengths. I was planning on sending this to the linked repo so the owner doesn't need to use HTTP/1.0.

EDIT: changed link to the github issue I created with inlined utility.