Perhaps `set` is aliased to something else?
try the `alias` command in your shell and see..
Meanwhile, you could use the `env` command to see environment variables.
NOTE: These are general ideas - if Ubuntu does something strange that I don't know about, well.. I don't know about it