change doc references to STDOUT to $stdout

[ci skip]