I am writing a small utility that accepts input from stdin. I need it
to behave differently if the input is being typed in or if it's
redirected from a file.
I knew how to do this once but unfortunatly, iv'e been developing
primarily for Windows for the last few years.