I'll need to check this, but `dot` should be able to take the input in `stdin`.