_timexit ()
{
( while true;
do
grep -q -o $! <<<$(ps ax) || break 2> /dev/null
te=$[$te+1]
[ $te == ${@} ] && {
kill -s PIPE $! 2> /dev/null
break 2> /dev/null
}
sleep 1;
done )
}
( w3m -o accept_encoding=UTF-8 -dump_source https://rextester.com | grep bash & >/dev/null ) &
_timexit 10
|