Nerd sniped myself after seeing this Code Golf answer. This script takes input on STDIN and outputs a Brainfuck program that outputs the input. It also accepts an optional command line argument that specifies the line with of the output (default: 80).
Example:
$ echo ' ++++ +++
+[>++++ ++[>+<-][
<]< -]> >++ +++
+.- --- --- ---
--.+++++++ +++
+++ .++
+++ +.-
--- -----.--.' | python backward_output_bf.py
Output:
++++++++++[->+>+<<]>>[-<<+>>]<++++++++++++++++++++++[->+>+<<]>>[-<<+>>]<++++++++
+++[->+>+<<]>>[-<<+>>]<++[->+>+<<]>>[-<<+>>]<+[->+>+<<]>>[-<<+>>]<++++++++++++++
[->+>+<<]>>[-<<+>>]<++[->+>+<<]>>[-<<+>>]<+++++++++++++++++++++++++++++[->+>+<<]
>>[-<<+>>]<++[->+>+<<]>>[-<<+>>]<<<<<<<<<......>....<.........>...<<.>....>.>>>>
>.<.<<<<....<....>..>>>>>.<.<<<<.>>>.<<.>>>>>.<.<<<<<<<.>...>>>>.>>>.<<<.<<<<..>
>.>>>>>.<<.<<<<<...>>>>>.<<<<..<....>...<<.>..>.>>.<.<<...>>...<<...>>...<<....>
>...<<<.>.>>..>.<<.......<.........>...<<.>........>...<.......>>>.<<..<<.>.....
...>...<......>.>>.<.<<<.>........>>...<<....>>.....>.<..>.
Which in turn outputs:
++++ +++
+[>++++ ++[>+<-][
<]< -]> >++ +++
+.- --- --- ---
--.+++++++ +++
+++ .++
+++ +.-
--- -----.--.
GNU General Public License, version 2 or later.