Read a line of the input and write it to memory
|,[>,]

Echo a line of the input
|,[.,]

Go back to a zero
[<]

Clear current cell
[-]

Clear the cells until you reach a zero
[[-]<]

Go back to a 255
+[-<+]-