title: What's the difference between "env" and "set" (on Mac OS X or Linux)?
body: <p>I get similar results running "env" and "set". Set gives more results - is it a superset of env?</p>
  
  <p>The man page for set doesn't give any information. How do these commands work and what's the difference?</p>