Fixed some typos.

I fixed some typos, the most important one for me was the name of this method:
POSIX::uname which was spelled wrong.

Also, my editor removed any trailing spaces - these are not per se typos but don't harm to fix.