Too many open files

2019-03-15 Thread sunnycemetery
Hello. Running the attached demonstration script results in the following errors, but I do not understand why: ./tmof: redirection error: cannot duplicate fd: Too many open files ./tmof: cannot make pipe for process substitution: Too many open files ./tmof: line 19: <( find "$d" -type f ): Too

bash Fails Glob Though No Glob Present.

2019-03-15 Thread Ralph Corderoy
Hi, bash 5.0.0-1 on Arch Linux. I'm manipulating a variable that's intended to hold a regular expression for vim(1), but bash thinks it fails pathname expansion even though I see no glob meta-character within it. $ shopt -s failglob $ ls -d foo ls: cannot access 'foo': No such file o