Bash-4.3 distribution sources and documentation

This commit is contained in:
Chet Ramey 2014-02-26 09:36:43 -05:00
commit ac50fbac37
497 changed files with 129395 additions and 87598 deletions

25
tests/redir10.sub Normal file
View file

@ -0,0 +1,25 @@
#!/bin/bash
#
# Out of file descriptors, because it forgets to close redirection. Only
# happens in a shell function. Problem through bash-4.2.
ulimit -n 128
bug()
{
c=`ulimit -n`
let c+=100
while let c--
do
while read -ru3 x
do
echo -n :
done 3< <(echo x)
done
}
bug
echo
exit 0