News for hackers. Stuff that matters.
Re:Bashttpd - An http server in bash by michaelhoffman on Sunday September 16, 2012 @03:37PM (#4530097)
You can also solve that problem with double square brackets:

  [[ "$foo" = 1 && "$bar" = 2 ]]
Re:Bashttpd - An http server in bash by avleenvig on Sunday September 16, 2012 @04:36PM (#4530248)
Really, we should be using double square brackets. We're not aiming for POSIX compliance and double square solves a lot of problems.