I have my tab key set to generate a tab key instead of doing auto complete
and use ` for auto complete -- not ideal, but it works.
I found a bug in this today.
GNU bash, version 4.2.45(1)-release (x86_64-suse-linux-gnu)
if I type in "set +o posix"
to make sure posix mode is 'off',
then 'tab' i
The script is in the answer:
http://stackoverflow.com/questions/24192459/bash-running-out-of-file-descriptors
It has 3 global variables, finishing in _CP, _TB and _CO.
It runs out of file descriptors after 1 or 2 hours.
I do not know much about Linux but I hope it helps you.
GNU bash, version
On Fri, Jun 13, 2014 at 09:52:49AM -0300, Jorge Sivil wrote:
> The script is in the answer:
>
> http://stackoverflow.com/questions/24192459/bash-running-out-of-file-descriptors
Can't you reduce the script to a minimum reproducible case? To be
honest, it smells like a scripting error and not a bug,
Yes, sorry. The minimum reproduceable code is:
#!/bin/bash
function something() {
while true
do
while read VAR
do
dummyvar="a"
done < <(find "/run/shm/debora" -type f | sort)
sleep 3
done
}
something &
Which fails with many pipes fd open.
Changing the While feed to th
Having defined a function _F to return a non-zero return status :
$ function _F () { return 255; }
I'd expect to be able to test this return status in an if clause - but
this is what happens:
$ if ! _F ; then echo '_F returned: '$?; fi
_F returned: 0
whereas if I just run F inline, the return
On 06/13/2014 02:42 PM, Jason Vas Dias wrote:
> Having defined a function _F to return a non-zero return status :
> $ function _F () { return 255; }
> I'd expect to be able to test this return status in an if clause - but
> this is what happens:
> $ if ! _F ; then echo '_F returned: '$?; fi
>
On Fri, Jun 13, 2014 at 9:56 PM, Jorge Sivil wrote:
> Yes, sorry. The minimum reproduceable code is:
>
> #!/bin/bash
> function something() {
> while true
> do
> while read VAR
> do
> dummyvar="a"
> done < <(find "/run/shm/debora" -type f | sort)
> sleep 3
> done
> }
>