Bash für Stdin
while read line ; do echo "$line" ; done < "${1:-/dev/stdin}"
Crazy Constrictor
while read line ; do echo "$line" ; done < "${1:-/dev/stdin}"