Your problem are not square backets. You problem are <
and >
. They are intended to handle stream redirection, < xxx
means get input from xxx, > xxx
means send output to xxx
You can enclose the text in double quotes or can escape the "problematic" characters preceding them with a caret
brainfuck ">++++++++[<++++++++>-]<."
brainfuck ^>++++++++[^<++++++++^>-]^<.