fork(2) download
  1. #!/bin/bash
  2. files=$(echo "foo.txt:bar.txt:my story.txt" | tr ":" "\n")
  3. for f in $files; do
  4. echo $f
  5. done
Success #stdin #stdout 0s 4460KB
stdin
Standard input is empty
stdout
foo.txt
bar.txt
my
story.txt