P='A:foo bar:B'; echo $P | tr ':' '\n'
Standard input is empty
A foo bar B
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!