#!/bin/bashfiles=$(echo "foo.txt:bar.txt:my story.txt" | tr ":" "\n")for f in $files; do echo $fdone
Standard input is empty
foo.txt bar.txt my story.txt
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!