Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > e104c338a6a7e69a7df1aa049a0ec57c > files > 31

perl-CGI-SpeedyCGI-2.220.0-1mdv2010.0.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