pgm 22.19, write dos newline as a string rather than 2 chars: this turned up a bug in clang
pgm 22.19, no need to unget EOF