verify read from stdin