input redirection works when angle bracket is surrounded by spaces