,----- ----- [>,----- -----] ; read a text until a newline <[+++++ +++++<] ; restore the original text >[[-]<[>+<-]>+>]< ; add one to the accumulator cell for every byte read ;; from esolang dot org >[-]>[-]+>[-]+< [>[-<-<<[->+>+<<]>[-<+>]>>]++++++++++>[-]+>[-]>[-]> [-]<<<<<[->-[>+>>]>[[-<+>]+>+>>]<<<<<]>>-[-<<+>>]<[-]++++++++ [-<++++++>]>>[-<<+>>]<<] <[.[-]<] [-]+++++ +++++. ; print newline