Read from stdin when -d is '-'.