#!/bin/bash## Out of file descriptors, because it forgets to close redirection. Only# happens in a shell function. Problem through bash-4.2.ulimit-n128
bug(){c=`ulimit-n`letc+=100whileletc--
dowhileread-ru3x
doecho-n:
done3<<(echox)done}
bug
echoexit0