>,>+++++++++,>+++++++++++[<++++++<++++++<+>>>-]<<.>.<<-.>.>.<<.

From http://www hevanet com/cristofd/brainfuck

This is for testing i/o; give it a return followed by an EOF (Try it both
with file input (a file consisting only of one blank line) and with
keyboard input, ie hit return and then ctrl_d (Unix) or ctrl_z
(Windows))

It should give two lines of output; the two lines should be identical, and
should be lined up one over the other If that doesn't happen, ten is not
coming through as newline on output

The content of the lines tells how input is being processed; each line
should be two uppercase letters

Anything with O in it means newline is not coming through as ten on input
LK means newline input is working fine, and EOF leaves the cell unchanged
(which I recommend)

LB means newline input is working fine, and EOF translates as 0
LA means newline input is working fine, and EOF translates as minus 1

Anything else is fairly unexpected