1 2 3 4 5 6 7 8 9
#!/bin/sh # Illustrates use of a while loop to read a file cat - | \ while read line do echo "$line" sleep 0.005 done