summaryrefslogtreecommitdiffstats
path: root/usr/local/bin/slowdownpipe.sh
blob: 13b9e8d930a1d8fd9f4461e46052b3a712c3969b (plain)
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.01
done
OpenPOWER on IntegriCloud