Oh, found it. Ha ha ha. A file name of '-' is causing it. The command "file *" is glob expanding to file - [filenames here...] The man page for file does not explicitly state it supports stdin via a filename of -.