summaryrefslogtreecommitdiffstats
path: root/usr/local/bin/slowdownpipe.sh
blob: 88be61434be5e9e3bd716d07c027168e86672207 (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.005
done
OpenPOWER on IntegriCloud