Sophie

Sophie

distrib > Mandriva > 2010.1 > i586 > media > contrib-updates > by-pkgid > ada19289fac35ae74137a678cbc21c6f > files > 31

perl-CGI-SpeedyCGI-2.220.0-1.1mdv2010.1.i586.rpm

#!/bin/sh
# Simulate slow drain of stdout
while dd count=100 2>/tmp/slow_drain.$$; do
    if grep '^0+0 ' /tmp/slow_drain.$$ >/dev/null; then
	rm -f /tmp/slow_drain.$$
	exit
    fi
    sleep 1
done