News for hackers. Stuff that matters.
Re:A web server in a shell script by js2 on Tuesday November 02, 2010 @09:51PM (#1863265)
Odd, I don't see any bash'isms in that; I think that script would run in Bourne shell. And in fact, it could be shorter and more efficient in bash. For example, it could probably use /dev/tcp instead of telnet. And it could pattern match with [[ $var == ]] or case instead of grep. And no need to use tail if you do appropriate redirections. I think. :)

There are no comments on this comment yet.