Add support for piped input

Piped input when no additional arguments given or the first input is a
dash (-).