title: 'If' command not outputting correct answer
body: <p>I'm making a BBS from scratch in bash, but I can't seem to get the login working: 'if' is lying to me.</p>
  
  <pre><code>#!/bin/bash
  echo "Enter user id:"
  read id
  if [ $id &gt; $(cat /bbs/howmanyusers) ]; then
          echo "ERROR: non existant user!"
          exit
  fi
  #The rest of the script in unimportant in this case.
  </code></pre>
  
  <p>Whatever I input, it always outputs "ERROR: non existant user!" and exits.
  The output of cat /bbs/howmanyusers is 2.</p>
  
  <p>Help?</p>