core/usr/local/bin/slowdownpipe.sh
2014-10-27 18:46:50 +01:00

10 lines
122 B
Bash
Executable File

#!/bin/sh
# Illustrates use of a while loop to read a file
cat - | \
while read line
do
echo "$line"
sleep 0.01
done